{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6","id":65331985,"html_url":"https://github.com/angular-starter-kit/generator-angular-pro/pull/6","diff_url":"https://github.com/angular-starter-kit/generator-angular-pro/pull/6.diff","patch_url":"https://github.com/angular-starter-kit/generator-angular-pro/pull/6.patch","issue_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/6","number":6,"state":"closed","locked":false,"title":"Add support for Material Design","user":{"login":"japf","id":2237018,"avatar_url":"https://avatars.githubusercontent.com/u/2237018?v=3","gravatar_id":"","url":"https://api.github.com/users/japf","html_url":"https://github.com/japf","followers_url":"https://api.github.com/users/japf/followers","following_url":"https://api.github.com/users/japf/following{/other_user}","gists_url":"https://api.github.com/users/japf/gists{/gist_id}","starred_url":"https://api.github.com/users/japf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japf/subscriptions","organizations_url":"https://api.github.com/users/japf/orgs","repos_url":"https://api.github.com/users/japf/repos","events_url":"https://api.github.com/users/japf/events{/privacy}","received_events_url":"https://api.github.com/users/japf/received_events","type":"User","site_admin":false},"body":"This is my first try add support for [Material Design](https://material.angularjs.org) in the generator.\r\n\r\nI used the following approach:\r\n\r\n- update prompts.json to add a new option to select Material Design as a UI framework\r\n- update index.js yeoman file to enable selection of the new option instead of automatically selecting Bootstrap as the UI framework when target is 'web'\r\n\r\nThen the appropriate files in the _material source folder. It's mostly a copy/paste from the bootstrap version. I only had to change shell.html, home.html and about.html.\r\n\r\nThat makes me think the structure of the _material, _bootstrap and _ionic folder could be overhaul to have less copy/paste of the same content (typically controllers could be reused) but I let this door open for a future PR ;-)\r\n\r\nObligatory screenshot:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2237018/14288815/999261fa-fb58-11e5-9ec1-4d53ad4d0978.png)\r\n\r\nLooking forward reading your thoughts about this.\r\n","created_at":"2016-04-05T16:10:11Z","updated_at":"2016-04-14T12:53:16Z","closed_at":"2016-04-14T12:53:15Z","merged_at":"2016-04-14T12:53:15Z","merge_commit_sha":"4cb77cd69c92536407bc331e4f0970e2cdf58116","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6/commits","review_comments_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6/comments","review_comment_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/6/comments","statuses_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/statuses/815e9b525c8f42c936ac939c91f45051ff6006a8","head":{"label":"japf:master","ref":"master","sha":"815e9b525c8f42c936ac939c91f45051ff6006a8","user":{"login":"japf","id":2237018,"avatar_url":"https://avatars.githubusercontent.com/u/2237018?v=3","gravatar_id":"","url":"https://api.github.com/users/japf","html_url":"https://github.com/japf","followers_url":"https://api.github.com/users/japf/followers","following_url":"https://api.github.com/users/japf/following{/other_user}","gists_url":"https://api.github.com/users/japf/gists{/gist_id}","starred_url":"https://api.github.com/users/japf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japf/subscriptions","organizations_url":"https://api.github.com/users/japf/orgs","repos_url":"https://api.github.com/users/japf/repos","events_url":"https://api.github.com/users/japf/events{/privacy}","received_events_url":"https://api.github.com/users/japf/received_events","type":"User","site_admin":false},"repo":{"id":54747468,"name":"generator-angular-pro","full_name":"japf/generator-angular-pro","owner":{"login":"japf","id":2237018,"avatar_url":"https://avatars.githubusercontent.com/u/2237018?v=3","gravatar_id":"","url":"https://api.github.com/users/japf","html_url":"https://github.com/japf","followers_url":"https://api.github.com/users/japf/followers","following_url":"https://api.github.com/users/japf/following{/other_user}","gists_url":"https://api.github.com/users/japf/gists{/gist_id}","starred_url":"https://api.github.com/users/japf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/japf/subscriptions","organizations_url":"https://api.github.com/users/japf/orgs","repos_url":"https://api.github.com/users/japf/repos","events_url":"https://api.github.com/users/japf/events{/privacy}","received_events_url":"https://api.github.com/users/japf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/japf/generator-angular-pro","description":"Web/mobile Angular project generator for scalable, enterprise-grade applications","fork":true,"url":"https://api.github.com/repos/japf/generator-angular-pro","forks_url":"https://api.github.com/repos/japf/generator-angular-pro/forks","keys_url":"https://api.github.com/repos/japf/generator-angular-pro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/japf/generator-angular-pro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/japf/generator-angular-pro/teams","hooks_url":"https://api.github.com/repos/japf/generator-angular-pro/hooks","issue_events_url":"https://api.github.com/repos/japf/generator-angular-pro/issues/events{/number}","events_url":"https://api.github.com/repos/japf/generator-angular-pro/events","assignees_url":"https://api.github.com/repos/japf/generator-angular-pro/assignees{/user}","branches_url":"https://api.github.com/repos/japf/generator-angular-pro/branches{/branch}","tags_url":"https://api.github.com/repos/japf/generator-angular-pro/tags","blobs_url":"https://api.github.com/repos/japf/generator-angular-pro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/japf/generator-angular-pro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/japf/generator-angular-pro/git/refs{/sha}","trees_url":"https://api.github.com/repos/japf/generator-angular-pro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/japf/generator-angular-pro/statuses/{sha}","languages_url":"https://api.github.com/repos/japf/generator-angular-pro/languages","stargazers_url":"https://api.github.com/repos/japf/generator-angular-pro/stargazers","contributors_url":"https://api.github.com/repos/japf/generator-angular-pro/contributors","subscribers_url":"https://api.github.com/repos/japf/generator-angular-pro/subscribers","subscription_url":"https://api.github.com/repos/japf/generator-angular-pro/subscription","commits_url":"https://api.github.com/repos/japf/generator-angular-pro/commits{/sha}","git_commits_url":"https://api.github.com/repos/japf/generator-angular-pro/git/commits{/sha}","comments_url":"https://api.github.com/repos/japf/generator-angular-pro/comments{/number}","issue_comment_url":"https://api.github.com/repos/japf/generator-angular-pro/issues/comments{/number}","contents_url":"https://api.github.com/repos/japf/generator-angular-pro/contents/{+path}","compare_url":"https://api.github.com/repos/japf/generator-angular-pro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/japf/generator-angular-pro/merges","archive_url":"https://api.github.com/repos/japf/generator-angular-pro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/japf/generator-angular-pro/downloads","issues_url":"https://api.github.com/repos/japf/generator-angular-pro/issues{/number}","pulls_url":"https://api.github.com/repos/japf/generator-angular-pro/pulls{/number}","milestones_url":"https://api.github.com/repos/japf/generator-angular-pro/milestones{/number}","notifications_url":"https://api.github.com/repos/japf/generator-angular-pro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/japf/generator-angular-pro/labels{/name}","releases_url":"https://api.github.com/repos/japf/generator-angular-pro/releases{/id}","deployments_url":"https://api.github.com/repos/japf/generator-angular-pro/deployments","created_at":"2016-03-25T21:05:40Z","updated_at":"2016-03-25T21:05:41Z","pushed_at":"2016-04-12T06:41:28Z","git_url":"git://github.com/japf/generator-angular-pro.git","ssh_url":"git@github.com:japf/generator-angular-pro.git","clone_url":"https://github.com/japf/generator-angular-pro.git","svn_url":"https://github.com/japf/generator-angular-pro","homepage":"","size":1237,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular-starter-kit:master","ref":"master","sha":"1d667440853d34e1107b39f24daab6e255465aee","user":{"login":"angular-starter-kit","id":18137415,"avatar_url":"https://avatars.githubusercontent.com/u/18137415?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-starter-kit","html_url":"https://github.com/angular-starter-kit","followers_url":"https://api.github.com/users/angular-starter-kit/followers","following_url":"https://api.github.com/users/angular-starter-kit/following{/other_user}","gists_url":"https://api.github.com/users/angular-starter-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-starter-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-starter-kit/subscriptions","organizations_url":"https://api.github.com/users/angular-starter-kit/orgs","repos_url":"https://api.github.com/users/angular-starter-kit/repos","events_url":"https://api.github.com/users/angular-starter-kit/events{/privacy}","received_events_url":"https://api.github.com/users/angular-starter-kit/received_events","type":"Organization","site_admin":false},"repo":{"id":53130700,"name":"generator-angular-pro","full_name":"angular-starter-kit/generator-angular-pro","owner":{"login":"angular-starter-kit","id":18137415,"avatar_url":"https://avatars.githubusercontent.com/u/18137415?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-starter-kit","html_url":"https://github.com/angular-starter-kit","followers_url":"https://api.github.com/users/angular-starter-kit/followers","following_url":"https://api.github.com/users/angular-starter-kit/following{/other_user}","gists_url":"https://api.github.com/users/angular-starter-kit/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-starter-kit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-starter-kit/subscriptions","organizations_url":"https://api.github.com/users/angular-starter-kit/orgs","repos_url":"https://api.github.com/users/angular-starter-kit/repos","events_url":"https://api.github.com/users/angular-starter-kit/events{/privacy}","received_events_url":"https://api.github.com/users/angular-starter-kit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-starter-kit/generator-angular-pro","description":"Web/mobile Angular project generator for scalable, enterprise-grade applications","fork":false,"url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro","forks_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/forks","keys_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/teams","hooks_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/hooks","issue_events_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/events{/number}","events_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/events","assignees_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/assignees{/user}","branches_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/branches{/branch}","tags_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/tags","blobs_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/languages","stargazers_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/stargazers","contributors_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/contributors","subscribers_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/subscribers","subscription_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/subscription","commits_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/contents/{+path}","compare_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/merges","archive_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/downloads","issues_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues{/number}","pulls_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/labels{/name}","releases_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/releases{/id}","deployments_url":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/deployments","created_at":"2016-03-04T11:24:34Z","updated_at":"2016-04-07T09:49:39Z","pushed_at":"2016-04-14T12:53:16Z","git_url":"git://github.com/angular-starter-kit/generator-angular-pro.git","ssh_url":"git@github.com:angular-starter-kit/generator-angular-pro.git","clone_url":"https://github.com/angular-starter-kit/generator-angular-pro.git","svn_url":"https://github.com/angular-starter-kit/generator-angular-pro","homepage":"","size":1257,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6"},"html":{"href":"https://github.com/angular-starter-kit/generator-angular-pro/pull/6"},"issue":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/6"},"comments":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/angular-starter-kit/generator-angular-pro/statuses/815e9b525c8f42c936ac939c91f45051ff6006a8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sinedied","id":593151,"avatar_url":"https://avatars.githubusercontent.com/u/593151?v=3","gravatar_id":"","url":"https://api.github.com/users/sinedied","html_url":"https://github.com/sinedied","followers_url":"https://api.github.com/users/sinedied/followers","following_url":"https://api.github.com/users/sinedied/following{/other_user}","gists_url":"https://api.github.com/users/sinedied/gists{/gist_id}","starred_url":"https://api.github.com/users/sinedied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinedied/subscriptions","organizations_url":"https://api.github.com/users/sinedied/orgs","repos_url":"https://api.github.com/users/sinedied/repos","events_url":"https://api.github.com/users/sinedied/events{/privacy}","received_events_url":"https://api.github.com/users/sinedied/received_events","type":"User","site_admin":false},"comments":4,"review_comments":8,"commits":7,"additions":895,"deletions":9,"changed_files":30}}