{"action":"created","issue":{"url":"https://api.github.com/repos/kegluneq/angular/issues/10","labels_url":"https://api.github.com/repos/kegluneq/angular/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kegluneq/angular/issues/10/comments","events_url":"https://api.github.com/repos/kegluneq/angular/issues/10/events","html_url":"https://github.com/kegluneq/angular/issues/10","id":63087198,"number":10,"title":"feat(dart/transform): Fix detection of Injectable","user":{"login":"kegluneq","id":613610,"avatar_url":"https://avatars.githubusercontent.com/u/613610?v=3","gravatar_id":"","url":"https://api.github.com/users/kegluneq","html_url":"https://github.com/kegluneq","followers_url":"https://api.github.com/users/kegluneq/followers","following_url":"https://api.github.com/users/kegluneq/following{/other_user}","gists_url":"https://api.github.com/users/kegluneq/gists{/gist_id}","starred_url":"https://api.github.com/users/kegluneq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kegluneq/subscriptions","organizations_url":"https://api.github.com/users/kegluneq/orgs","repos_url":"https://api.github.com/users/kegluneq/repos","events_url":"https://api.github.com/users/kegluneq/events{/privacy}","received_events_url":"https://api.github.com/users/kegluneq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-19T20:43:12Z","updated_at":"2015-04-09T19:10:41Z","closed_at":null,"body":"The method for checking whether we need to register a class is naive and needs to be much smarter. It probably needs to be configurable similar to how [package:di](https://github.com/angular/di.dart), and I'd like to have a mode we can run in that detects necessary transformer settings and surfaces them to the user. I have some code towards this goal that I'll link here once it's pushed.\r\n\r\nSee `_Tester` in `directive_processor/rewriter.dart` [here](https://github.com/kegluneq/angular/blob/master/modules/angular2/src/transform/directive_processor/rewriter.dart#L198) for the current implementation."},"comment":{"url":"https://api.github.com/repos/kegluneq/angular/issues/comments/91330690","html_url":"https://github.com/kegluneq/angular/issues/10#issuecomment-91330690","issue_url":"https://api.github.com/repos/kegluneq/angular/issues/10","id":91330690,"user":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars.githubusercontent.com/u/984921?v=3","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T19:10:41Z","updated_at":"2015-04-09T19:10:41Z","body":"Looking at this now, also when setting up my tests I noticed you can't actually mixin Injectable because it has a constructor, so I will just be supporting `extends` and `implements`."}}