{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6959","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6959/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6959/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6959/events","html_url":"https://github.com/driftyco/ionic/issues/6959","id":161033619,"number":6959,"title":"Use @Inject instead of static get parameters()","user":{"login":"mirkonasato","id":133967,"avatar_url":"https://avatars.githubusercontent.com/u/133967?v=3","gravatar_id":"","url":"https://api.github.com/users/mirkonasato","html_url":"https://github.com/mirkonasato","followers_url":"https://api.github.com/users/mirkonasato/followers","following_url":"https://api.github.com/users/mirkonasato/following{/other_user}","gists_url":"https://api.github.com/users/mirkonasato/gists{/gist_id}","starred_url":"https://api.github.com/users/mirkonasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirkonasato/subscriptions","organizations_url":"https://api.github.com/users/mirkonasato/orgs","repos_url":"https://api.github.com/users/mirkonasato/repos","events_url":"https://api.github.com/users/mirkonasato/events{/privacy}","received_events_url":"https://api.github.com/users/mirkonasato/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-18T17:02:20Z","updated_at":"2016-06-18T19:00:56Z","closed_at":"2016-06-18T18:05:13Z","body":"Ionic 2 starter projects currently uses `static get parameters()` in esnext code as a workaround for the lack of parameter decorators in Babel. See e.g. [Adding Pages](http://ionicframework.com/docs/v2/getting-started/tutorial/adding-pages/) in the tutorial.\r\n\r\nParameters decorators should now work using the _babel-plugin-angular2-annotations_: see https://github.com/shuhei/babel-plugin-angular2-annotations/issues/19\r\n\r\nSo it should be possible to write\r\n\r\n    constructor(@Inject(NavController) nav, @Inject(NavParams) navParams) { /*...*/ }"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/226959381","html_url":"https://github.com/driftyco/ionic/issues/6959#issuecomment-226959381","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6959","id":226959381,"user":{"login":"mirkonasato","id":133967,"avatar_url":"https://avatars.githubusercontent.com/u/133967?v=3","gravatar_id":"","url":"https://api.github.com/users/mirkonasato","html_url":"https://github.com/mirkonasato","followers_url":"https://api.github.com/users/mirkonasato/followers","following_url":"https://api.github.com/users/mirkonasato/following{/other_user}","gists_url":"https://api.github.com/users/mirkonasato/gists{/gist_id}","starred_url":"https://api.github.com/users/mirkonasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirkonasato/subscriptions","organizations_url":"https://api.github.com/users/mirkonasato/orgs","repos_url":"https://api.github.com/users/mirkonasato/repos","events_url":"https://api.github.com/users/mirkonasato/events{/privacy}","received_events_url":"https://api.github.com/users/mirkonasato/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T19:00:56Z","updated_at":"2016-06-18T19:00:56Z","body":"@manucorporat good decision 👍"}}
{"actor":{"display_login":"mirkonasato"}}