{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4","id":48472727,"html_url":"https://github.com/juanpablob/angular-environment/pull/4","diff_url":"https://github.com/juanpablob/angular-environment/pull/4.diff","patch_url":"https://github.com/juanpablob/angular-environment/pull/4.patch","issue_url":"https://api.github.com/repos/juanpablob/angular-environment/issues/4","number":4,"state":"closed","locked":false,"title":"main file, easier for webpack/angular builds supporting es6 import/export syntax","user":{"login":"pawelgorka","id":5054480,"avatar_url":"https://avatars.githubusercontent.com/u/5054480?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelgorka","html_url":"https://github.com/pawelgorka","followers_url":"https://api.github.com/users/pawelgorka/followers","following_url":"https://api.github.com/users/pawelgorka/following{/other_user}","gists_url":"https://api.github.com/users/pawelgorka/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelgorka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelgorka/subscriptions","organizations_url":"https://api.github.com/users/pawelgorka/orgs","repos_url":"https://api.github.com/users/pawelgorka/repos","events_url":"https://api.github.com/users/pawelgorka/events{/privacy}","received_events_url":"https://api.github.com/users/pawelgorka/received_events","type":"User","site_admin":false},"body":"Hello, with this pull request applied, you can easly do es6 import syntax like this:\r\nit is done in similar fashion to 'angular-ui-bootstrap'\r\n\r\n// angular and angular dependencies\r\nimport angular from 'angular';\r\nimport uirouter from 'angular-ui-router';\r\nimport uiBootstrap from 'angular-ui-bootstrap';\r\nimport angularEnvironment from 'angular-environment';\r\n\r\n// own modules\r\nimport root from './root/root.module';\r\nimport home from './home/home.module';\r\n\r\n// configuration\r\nangular\r\n  .module('app', [\r\n    // vendor module dependencies\r\n    uirouter,\r\n    uiBootstrap,\r\n    angularEnvironment,\r\n    \r\n    // own dependencies\r\n    root,\r\n    home\r\n  ])\r\n  .config( /*@ngInject*/ function ($urlRouterProvider, $stateProvider) {\r\n    $urlRouterProvider.otherwise('/home');\r\n  });","created_at":"2015-10-22T15:29:23Z","updated_at":"2015-10-24T04:20:20Z","closed_at":"2015-10-24T04:20:20Z","merged_at":"2015-10-24T04:20:20Z","merge_commit_sha":"d307e39a4c01b183e0647363f35f5c104786857d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4/commits","review_comments_url":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4/comments","review_comment_url":"https://api.github.com/repos/juanpablob/angular-environment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/juanpablob/angular-environment/issues/4/comments","statuses_url":"https://api.github.com/repos/juanpablob/angular-environment/statuses/ce632e278f3fd0302c24b45806b57bc141edb5c8","head":{"label":"pawelgorka:master","ref":"master","sha":"ce632e278f3fd0302c24b45806b57bc141edb5c8","user":{"login":"pawelgorka","id":5054480,"avatar_url":"https://avatars.githubusercontent.com/u/5054480?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelgorka","html_url":"https://github.com/pawelgorka","followers_url":"https://api.github.com/users/pawelgorka/followers","following_url":"https://api.github.com/users/pawelgorka/following{/other_user}","gists_url":"https://api.github.com/users/pawelgorka/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelgorka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelgorka/subscriptions","organizations_url":"https://api.github.com/users/pawelgorka/orgs","repos_url":"https://api.github.com/users/pawelgorka/repos","events_url":"https://api.github.com/users/pawelgorka/events{/privacy}","received_events_url":"https://api.github.com/users/pawelgorka/received_events","type":"User","site_admin":false},"repo":{"id":44753758,"name":"angular-environment","full_name":"pawelgorka/angular-environment","owner":{"login":"pawelgorka","id":5054480,"avatar_url":"https://avatars.githubusercontent.com/u/5054480?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelgorka","html_url":"https://github.com/pawelgorka","followers_url":"https://api.github.com/users/pawelgorka/followers","following_url":"https://api.github.com/users/pawelgorka/following{/other_user}","gists_url":"https://api.github.com/users/pawelgorka/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelgorka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelgorka/subscriptions","organizations_url":"https://api.github.com/users/pawelgorka/orgs","repos_url":"https://api.github.com/users/pawelgorka/repos","events_url":"https://api.github.com/users/pawelgorka/events{/privacy}","received_events_url":"https://api.github.com/users/pawelgorka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pawelgorka/angular-environment","description":"AngularJS Environment Plugin","fork":true,"url":"https://api.github.com/repos/pawelgorka/angular-environment","forks_url":"https://api.github.com/repos/pawelgorka/angular-environment/forks","keys_url":"https://api.github.com/repos/pawelgorka/angular-environment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pawelgorka/angular-environment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pawelgorka/angular-environment/teams","hooks_url":"https://api.github.com/repos/pawelgorka/angular-environment/hooks","issue_events_url":"https://api.github.com/repos/pawelgorka/angular-environment/issues/events{/number}","events_url":"https://api.github.com/repos/pawelgorka/angular-environment/events","assignees_url":"https://api.github.com/repos/pawelgorka/angular-environment/assignees{/user}","branches_url":"https://api.github.com/repos/pawelgorka/angular-environment/branches{/branch}","tags_url":"https://api.github.com/repos/pawelgorka/angular-environment/tags","blobs_url":"https://api.github.com/repos/pawelgorka/angular-environment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pawelgorka/angular-environment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pawelgorka/angular-environment/git/refs{/sha}","trees_url":"https://api.github.com/repos/pawelgorka/angular-environment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pawelgorka/angular-environment/statuses/{sha}","languages_url":"https://api.github.com/repos/pawelgorka/angular-environment/languages","stargazers_url":"https://api.github.com/repos/pawelgorka/angular-environment/stargazers","contributors_url":"https://api.github.com/repos/pawelgorka/angular-environment/contributors","subscribers_url":"https://api.github.com/repos/pawelgorka/angular-environment/subscribers","subscription_url":"https://api.github.com/repos/pawelgorka/angular-environment/subscription","commits_url":"https://api.github.com/repos/pawelgorka/angular-environment/commits{/sha}","git_commits_url":"https://api.github.com/repos/pawelgorka/angular-environment/git/commits{/sha}","comments_url":"https://api.github.com/repos/pawelgorka/angular-environment/comments{/number}","issue_comment_url":"https://api.github.com/repos/pawelgorka/angular-environment/issues/comments{/number}","contents_url":"https://api.github.com/repos/pawelgorka/angular-environment/contents/{+path}","compare_url":"https://api.github.com/repos/pawelgorka/angular-environment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pawelgorka/angular-environment/merges","archive_url":"https://api.github.com/repos/pawelgorka/angular-environment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pawelgorka/angular-environment/downloads","issues_url":"https://api.github.com/repos/pawelgorka/angular-environment/issues{/number}","pulls_url":"https://api.github.com/repos/pawelgorka/angular-environment/pulls{/number}","milestones_url":"https://api.github.com/repos/pawelgorka/angular-environment/milestones{/number}","notifications_url":"https://api.github.com/repos/pawelgorka/angular-environment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pawelgorka/angular-environment/labels{/name}","releases_url":"https://api.github.com/repos/pawelgorka/angular-environment/releases{/id}","created_at":"2015-10-22T15:15:10Z","updated_at":"2015-10-22T15:15:11Z","pushed_at":"2015-10-22T15:22:13Z","git_url":"git://github.com/pawelgorka/angular-environment.git","ssh_url":"git@github.com:pawelgorka/angular-environment.git","clone_url":"https://github.com/pawelgorka/angular-environment.git","svn_url":"https://github.com/pawelgorka/angular-environment","homepage":null,"size":3376,"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":"juanpablob:master","ref":"master","sha":"345ae6b7d5511931eb5d2dcaa326307f1be03cc9","user":{"login":"juanpablob","id":50008,"avatar_url":"https://avatars.githubusercontent.com/u/50008?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpablob","html_url":"https://github.com/juanpablob","followers_url":"https://api.github.com/users/juanpablob/followers","following_url":"https://api.github.com/users/juanpablob/following{/other_user}","gists_url":"https://api.github.com/users/juanpablob/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpablob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpablob/subscriptions","organizations_url":"https://api.github.com/users/juanpablob/orgs","repos_url":"https://api.github.com/users/juanpablob/repos","events_url":"https://api.github.com/users/juanpablob/events{/privacy}","received_events_url":"https://api.github.com/users/juanpablob/received_events","type":"User","site_admin":false},"repo":{"id":39383973,"name":"angular-environment","full_name":"juanpablob/angular-environment","owner":{"login":"juanpablob","id":50008,"avatar_url":"https://avatars.githubusercontent.com/u/50008?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpablob","html_url":"https://github.com/juanpablob","followers_url":"https://api.github.com/users/juanpablob/followers","following_url":"https://api.github.com/users/juanpablob/following{/other_user}","gists_url":"https://api.github.com/users/juanpablob/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpablob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpablob/subscriptions","organizations_url":"https://api.github.com/users/juanpablob/orgs","repos_url":"https://api.github.com/users/juanpablob/repos","events_url":"https://api.github.com/users/juanpablob/events{/privacy}","received_events_url":"https://api.github.com/users/juanpablob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juanpablob/angular-environment","description":"AngularJS Environment Plugin","fork":false,"url":"https://api.github.com/repos/juanpablob/angular-environment","forks_url":"https://api.github.com/repos/juanpablob/angular-environment/forks","keys_url":"https://api.github.com/repos/juanpablob/angular-environment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juanpablob/angular-environment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juanpablob/angular-environment/teams","hooks_url":"https://api.github.com/repos/juanpablob/angular-environment/hooks","issue_events_url":"https://api.github.com/repos/juanpablob/angular-environment/issues/events{/number}","events_url":"https://api.github.com/repos/juanpablob/angular-environment/events","assignees_url":"https://api.github.com/repos/juanpablob/angular-environment/assignees{/user}","branches_url":"https://api.github.com/repos/juanpablob/angular-environment/branches{/branch}","tags_url":"https://api.github.com/repos/juanpablob/angular-environment/tags","blobs_url":"https://api.github.com/repos/juanpablob/angular-environment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juanpablob/angular-environment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juanpablob/angular-environment/git/refs{/sha}","trees_url":"https://api.github.com/repos/juanpablob/angular-environment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juanpablob/angular-environment/statuses/{sha}","languages_url":"https://api.github.com/repos/juanpablob/angular-environment/languages","stargazers_url":"https://api.github.com/repos/juanpablob/angular-environment/stargazers","contributors_url":"https://api.github.com/repos/juanpablob/angular-environment/contributors","subscribers_url":"https://api.github.com/repos/juanpablob/angular-environment/subscribers","subscription_url":"https://api.github.com/repos/juanpablob/angular-environment/subscription","commits_url":"https://api.github.com/repos/juanpablob/angular-environment/commits{/sha}","git_commits_url":"https://api.github.com/repos/juanpablob/angular-environment/git/commits{/sha}","comments_url":"https://api.github.com/repos/juanpablob/angular-environment/comments{/number}","issue_comment_url":"https://api.github.com/repos/juanpablob/angular-environment/issues/comments{/number}","contents_url":"https://api.github.com/repos/juanpablob/angular-environment/contents/{+path}","compare_url":"https://api.github.com/repos/juanpablob/angular-environment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juanpablob/angular-environment/merges","archive_url":"https://api.github.com/repos/juanpablob/angular-environment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juanpablob/angular-environment/downloads","issues_url":"https://api.github.com/repos/juanpablob/angular-environment/issues{/number}","pulls_url":"https://api.github.com/repos/juanpablob/angular-environment/pulls{/number}","milestones_url":"https://api.github.com/repos/juanpablob/angular-environment/milestones{/number}","notifications_url":"https://api.github.com/repos/juanpablob/angular-environment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juanpablob/angular-environment/labels{/name}","releases_url":"https://api.github.com/repos/juanpablob/angular-environment/releases{/id}","created_at":"2015-07-20T13:00:32Z","updated_at":"2015-10-23T21:24:26Z","pushed_at":"2015-10-24T04:20:20Z","git_url":"git://github.com/juanpablob/angular-environment.git","ssh_url":"git@github.com:juanpablob/angular-environment.git","clone_url":"https://github.com/juanpablob/angular-environment.git","svn_url":"https://github.com/juanpablob/angular-environment","homepage":null,"size":3376,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4"},"html":{"href":"https://github.com/juanpablob/angular-environment/pull/4"},"issue":{"href":"https://api.github.com/repos/juanpablob/angular-environment/issues/4"},"comments":{"href":"https://api.github.com/repos/juanpablob/angular-environment/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/juanpablob/angular-environment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/juanpablob/angular-environment/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/juanpablob/angular-environment/statuses/ce632e278f3fd0302c24b45806b57bc141edb5c8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"juanpablob","id":50008,"avatar_url":"https://avatars.githubusercontent.com/u/50008?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpablob","html_url":"https://github.com/juanpablob","followers_url":"https://api.github.com/users/juanpablob/followers","following_url":"https://api.github.com/users/juanpablob/following{/other_user}","gists_url":"https://api.github.com/users/juanpablob/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpablob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpablob/subscriptions","organizations_url":"https://api.github.com/users/juanpablob/orgs","repos_url":"https://api.github.com/users/juanpablob/repos","events_url":"https://api.github.com/users/juanpablob/events{/privacy}","received_events_url":"https://api.github.com/users/juanpablob/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":2}}