{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/4137","labels_url":"https://api.github.com/repos/angular/angular/issues/4137/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/4137/comments","events_url":"https://api.github.com/repos/angular/angular/issues/4137/events","html_url":"https://github.com/angular/angular/issues/4137","id":106054340,"number":4137,"title":"it seems that router is not exposed since alpha35","user":{"login":"benharrell","id":29810,"avatar_url":"https://avatars.githubusercontent.com/u/29810?v=3","gravatar_id":"","url":"https://api.github.com/users/benharrell","html_url":"https://github.com/benharrell","followers_url":"https://api.github.com/users/benharrell/followers","following_url":"https://api.github.com/users/benharrell/following{/other_user}","gists_url":"https://api.github.com/users/benharrell/gists{/gist_id}","starred_url":"https://api.github.com/users/benharrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benharrell/subscriptions","organizations_url":"https://api.github.com/users/benharrell/orgs","repos_url":"https://api.github.com/users/benharrell/repos","events_url":"https://api.github.com/users/benharrell/events{/privacy}","received_events_url":"https://api.github.com/users/benharrell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T17:10:24Z","updated_at":"2015-09-11T17:42:23Z","closed_at":"2015-09-11T17:42:23Z","body":"when trying in es5 the following doesn't work:\r\n\r\n```\r\nvar Cmp = ng.\r\n  Component({\r\n    selector: 'cmp',\r\n    bindings: [Service]\r\n  }).\r\n  View({\r\n    templateUrl: 'main.html'\r\n  }).\r\n  Class({\r\n    constructor: [Service, function Cmp(service) {\r\n      this.greeting = service.greeting();\r\n    }]\r\n  });\r\n  \r\n  //the line below gives router is undefined\r\n  ng.router.RouteConfig(\r\n    [\r\n      {path:'/', redirectTo: '/setup'},\r\n      {path:'/setup', as:'setup', component:SetupComponent}\r\n      ])\r\n```\r\nconsole logged ng using sfx .34 and I see router. But in .35, .36 & .37 it isn't exposed"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/139610190","html_url":"https://github.com/angular/angular/issues/4137#issuecomment-139610190","issue_url":"https://api.github.com/repos/angular/angular/issues/4137","id":139610190,"user":{"login":"benharrell","id":29810,"avatar_url":"https://avatars.githubusercontent.com/u/29810?v=3","gravatar_id":"","url":"https://api.github.com/users/benharrell","html_url":"https://github.com/benharrell","followers_url":"https://api.github.com/users/benharrell/followers","following_url":"https://api.github.com/users/benharrell/following{/other_user}","gists_url":"https://api.github.com/users/benharrell/gists{/gist_id}","starred_url":"https://api.github.com/users/benharrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benharrell/subscriptions","organizations_url":"https://api.github.com/users/benharrell/orgs","repos_url":"https://api.github.com/users/benharrell/repos","events_url":"https://api.github.com/users/benharrell/events{/privacy}","received_events_url":"https://api.github.com/users/benharrell/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T17:42:23Z","updated_at":"2015-09-11T17:42:23Z","body":"was informed that this has changed to ngRouter"}}