{"action":"created","issue":{"url":"https://api.github.com/repos/olov/ng-annotate/issues/127","labels_url":"https://api.github.com/repos/olov/ng-annotate/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/olov/ng-annotate/issues/127/comments","events_url":"https://api.github.com/repos/olov/ng-annotate/issues/127/events","html_url":"https://github.com/olov/ng-annotate/issues/127","id":54936761,"number":127,"title":"Add custom styles","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-20T20:43:15Z","updated_at":"2015-01-20T20:59:32Z","closed_at":"2015-01-20T20:55:34Z","body":"So, I'm refactoring my project to use CommonJS and trying to make things more modular. So all of my components have the module passed to them and they register with that module. Like so:\r\n\r\n```js\r\nmodule.exports = ngModule => {\r\n  ngModule.directive('myDirective', function($log) {\r\n    return function link() {\r\n      $log.info('linking!', arguments);\r\n    }\r\n  });\r\n}\r\n```\r\n\r\nI'd like to have the ability to add a custom style that says: \"My `angular.module` is actually `ngModule`\" I'm fine with sticking with `ngModule` for everything. Just want it to be a variable."},"comment":{"url":"https://api.github.com/repos/olov/ng-annotate/issues/comments/70732064","html_url":"https://github.com/olov/ng-annotate/issues/127#issuecomment-70732064","issue_url":"https://api.github.com/repos/olov/ng-annotate/issues/127","id":70732064,"user":{"login":"olov","id":19247,"avatar_url":"https://avatars.githubusercontent.com/u/19247?v=3","gravatar_id":"","url":"https://api.github.com/users/olov","html_url":"https://github.com/olov","followers_url":"https://api.github.com/users/olov/followers","following_url":"https://api.github.com/users/olov/following{/other_user}","gists_url":"https://api.github.com/users/olov/gists{/gist_id}","starred_url":"https://api.github.com/users/olov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olov/subscriptions","organizations_url":"https://api.github.com/users/olov/orgs","repos_url":"https://api.github.com/users/olov/repos","events_url":"https://api.github.com/users/olov/events{/privacy}","received_events_url":"https://api.github.com/users/olov/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T20:59:32Z","updated_at":"2015-01-20T20:59:32Z","body":"Great!"}}