{"action":"closed","issue":{"url":"https://api.github.com/repos/kosz/generator-modular/issues/30","labels_url":"https://api.github.com/repos/kosz/generator-modular/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/kosz/generator-modular/issues/30/comments","events_url":"https://api.github.com/repos/kosz/generator-modular/issues/30/events","html_url":"https://github.com/kosz/generator-modular/issues/30","id":58474682,"number":30,"title":"Create config Generator","user":{"login":"kosz","id":86150,"avatar_url":"https://avatars.githubusercontent.com/u/86150?v=3","gravatar_id":"","url":"https://api.github.com/users/kosz","html_url":"https://github.com/kosz","followers_url":"https://api.github.com/users/kosz/followers","following_url":"https://api.github.com/users/kosz/following{/other_user}","gists_url":"https://api.github.com/users/kosz/gists{/gist_id}","starred_url":"https://api.github.com/users/kosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosz/subscriptions","organizations_url":"https://api.github.com/users/kosz/orgs","repos_url":"https://api.github.com/users/kosz/repos","events_url":"https://api.github.com/users/kosz/events{/privacy}","received_events_url":"https://api.github.com/users/kosz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kosz/generator-modular/labels/fw","name":"fw","color":"fbca04"},{"url":"https://api.github.com/repos/kosz/generator-modular/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-21T20:58:26Z","updated_at":"2015-11-11T16:12:41Z","closed_at":"2015-11-11T16:12:41Z","body":"## Options \r\n\r\n#### Directives\r\n\r\n- always create controller for directive \r\n- always ask to create controller \r\n\r\n#### Controllers\r\n\r\n- setup naming strategy\r\n  - namespacing prefix\r\n  - Ctrl suffix\r\n  - alternative to this - self\r\n  - controllerAs variable name - vm\r\n\r\n- always use controllerAs\r\n\r\n#### Services\r\n\r\n- always generate factory\r\n- always generate class factory \r\n- always generate function factory \r\n- always generate service\r\n\r\n#### JavaScript & Angular\r\n\r\n- function declaration\r\n- scaffold comments/ngdocs ? \r\n- would you like to be asked if you want to add functions to objects ? \r\n- would you still like to be asked if you want to add injections to objects ? \r\n"}}