{"action":"created","issue":{"url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/81","labels_url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/81/comments","events_url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/81/events","html_url":"https://github.com/ngUpgraders/ng-forward/issues/81","id":117166987,"number":81,"title":"Issue with binding and constructor","user":{"login":"waeljammal","id":140032,"avatar_url":"https://avatars.githubusercontent.com/u/140032?v=3","gravatar_id":"","url":"https://api.github.com/users/waeljammal","html_url":"https://github.com/waeljammal","followers_url":"https://api.github.com/users/waeljammal/followers","following_url":"https://api.github.com/users/waeljammal/following{/other_user}","gists_url":"https://api.github.com/users/waeljammal/gists{/gist_id}","starred_url":"https://api.github.com/users/waeljammal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waeljammal/subscriptions","organizations_url":"https://api.github.com/users/waeljammal/orgs","repos_url":"https://api.github.com/users/waeljammal/repos","events_url":"https://api.github.com/users/waeljammal/events{/privacy}","received_events_url":"https://api.github.com/users/waeljammal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ngUpgraders/ng-forward/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-16T16:47:13Z","updated_at":"2015-11-18T03:38:42Z","closed_at":null,"body":"Hi,\r\n\r\nSo I seem to be having an issue where my values are not available when the constructor is invoked.\r\n\r\nI have put break points in my constructor and in createDirectiveController and before $injector.invoke is called I can see my .named values in the instance however when my constructor is called the values are undefined.\r\n\r\n```<my-component data='hello'> (tried with [], [()] and same thing)```\r\n\r\nin my constructor I try to access this.data and it's undefined however it seems that babel's define-decorated-property-descriptor is wiping out the value due to this line:\r\n\r\ndescriptor.value = descriptor.initializer ? descriptor.initializer.call(target) : undefined;\r\n\r\nSo after hitting babel the constructor is called and values that use the getters/setters defined in inputs-builder get wiped out and are now undefined."},"comment":{"url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/comments/157595073","html_url":"https://github.com/ngUpgraders/ng-forward/issues/81#issuecomment-157595073","issue_url":"https://api.github.com/repos/ngUpgraders/ng-forward/issues/81","id":157595073,"user":{"login":"timkindberg","id":168046,"avatar_url":"https://avatars.githubusercontent.com/u/168046?v=3","gravatar_id":"","url":"https://api.github.com/users/timkindberg","html_url":"https://github.com/timkindberg","followers_url":"https://api.github.com/users/timkindberg/followers","following_url":"https://api.github.com/users/timkindberg/following{/other_user}","gists_url":"https://api.github.com/users/timkindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/timkindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkindberg/subscriptions","organizations_url":"https://api.github.com/users/timkindberg/orgs","repos_url":"https://api.github.com/users/timkindberg/repos","events_url":"https://api.github.com/users/timkindberg/events{/privacy}","received_events_url":"https://api.github.com/users/timkindberg/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T03:38:42Z","updated_at":"2015-11-18T03:38:42Z","body":"I'd thought maybe it needed a new babel version to cause the bug, but you are saying you are running 5.8... so I'm not sure why I would not see this bug. Any other tips or clues?"}}