{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/4113","labels_url":"https://api.github.com/repos/angular/angular/issues/4113/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/4113/comments","events_url":"https://api.github.com/repos/angular/angular/issues/4113/events","html_url":"https://github.com/angular/angular/issues/4113","id":105781613,"number":4113,"title":"Angular 2 Http not working version : alpha-36","user":{"login":"shatakshidixit","id":14136266,"avatar_url":"https://avatars.githubusercontent.com/u/14136266?v=3","gravatar_id":"","url":"https://api.github.com/users/shatakshidixit","html_url":"https://github.com/shatakshidixit","followers_url":"https://api.github.com/users/shatakshidixit/followers","following_url":"https://api.github.com/users/shatakshidixit/following{/other_user}","gists_url":"https://api.github.com/users/shatakshidixit/gists{/gist_id}","starred_url":"https://api.github.com/users/shatakshidixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shatakshidixit/subscriptions","organizations_url":"https://api.github.com/users/shatakshidixit/orgs","repos_url":"https://api.github.com/users/shatakshidixit/repos","events_url":"https://api.github.com/users/shatakshidixit/events{/privacy}","received_events_url":"https://api.github.com/users/shatakshidixit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T10:43:09Z","updated_at":"2015-09-10T11:29:31Z","closed_at":null,"body":"MyHttp.ts\r\n\r\n\r\nimport {Component, View, NgFor} from 'angular2/angular2';\r\nimport {Http, Response, HTTP_BINDINGS} from 'http/http';\r\nimport {ObservableWrapper} from 'angular2/src/facade/async';\r\n\r\n\r\n@Component({\r\n  selector: 'navbar',\r\n  viewBindings: [HTTP_BINDINGS],\r\n  })\r\n@View({\r\n  directives: [NgFor],\r\n  templateUrl: 'components/navbar/navbar.html'\r\n  })\r\nexport class Navbar {\r\n  people: Object;\r\n    constructor(http : Http) \r\n    {\r\n      alert(\"a\");  \\\\alert also not working\r\n      ObservableWrapper.subscribe<Response>(http.get('people.json'),res => this.people = res.json());\r\n    }\r\n}\r\n\r\nFor the above Code the error is showing : Cannot resolve all parameters for Navbar(?). Make sure they all have valid type or annotations.\r\n\r\n\r\n\"Even the alert in the constructor is not showing\"\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/139209193","html_url":"https://github.com/angular/angular/issues/4113#issuecomment-139209193","issue_url":"https://api.github.com/repos/angular/angular/issues/4113","id":139209193,"user":{"login":"ericmdantas","id":7040162,"avatar_url":"https://avatars.githubusercontent.com/u/7040162?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmdantas","html_url":"https://github.com/ericmdantas","followers_url":"https://api.github.com/users/ericmdantas/followers","following_url":"https://api.github.com/users/ericmdantas/following{/other_user}","gists_url":"https://api.github.com/users/ericmdantas/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmdantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmdantas/subscriptions","organizations_url":"https://api.github.com/users/ericmdantas/orgs","repos_url":"https://api.github.com/users/ericmdantas/repos","events_url":"https://api.github.com/users/ericmdantas/events{/privacy}","received_events_url":"https://api.github.com/users/ericmdantas/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T11:29:31Z","updated_at":"2015-09-10T11:29:31Z","body":"It's working fine, see [this plnkr](http://plnkr.co/edit/73PVI5onqf7nt8Ge9aLP?p=preview).\r\n\r\nI suggest you share a bit more code so we can help you better."}}