{"action":"opened","issue":{"url":"https://api.github.com/repos/mgechev/angular-seed/issues/1517","repository_url":"https://api.github.com/repos/mgechev/angular-seed","labels_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1517/labels{/name}","comments_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1517/comments","events_url":"https://api.github.com/repos/mgechev/angular-seed/issues/1517/events","html_url":"https://github.com/mgechev/angular-seed/issues/1517","id":184610213,"number":1517,"title":"Help with adding dependencies (eg. ng2-bootstrap)","user":{"login":"syrys","id":5236811,"avatar_url":"https://avatars.githubusercontent.com/u/5236811?v=3","gravatar_id":"","url":"https://api.github.com/users/syrys","html_url":"https://github.com/syrys","followers_url":"https://api.github.com/users/syrys/followers","following_url":"https://api.github.com/users/syrys/following{/other_user}","gists_url":"https://api.github.com/users/syrys/gists{/gist_id}","starred_url":"https://api.github.com/users/syrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syrys/subscriptions","organizations_url":"https://api.github.com/users/syrys/orgs","repos_url":"https://api.github.com/users/syrys/repos","events_url":"https://api.github.com/users/syrys/events{/privacy}","received_events_url":"https://api.github.com/users/syrys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T05:07:03Z","updated_at":"2016-10-22T05:07:03Z","closed_at":null,"body":"Hi,\r\n\r\nIm attempting to add some external dependencies to this project (eg. `ng2-bootstrap`: http://valor-software.com/ng2-bootstrap), and failing a bit. I spent a bit of time browsing through the wiki page and the other projects, but i seem to be hitting walls (other example projects/forks are very outdated, and maybe the wiki might also be im not sure?).\r\n\r\nSo, injecting a simple js/css file is easy. You simply add the following to your project.config file:\r\n````\r\n    this.NPM_DEPENDENCIES = [\r\n      ...this.NPM_DEPENDENCIES,\r\n      {src: 'bootstrap/dist/css/bootstrap.min.css', inject: true},\r\n    ];\r\n````\r\n\r\nBut my main problem is, libraries/dependencies which also have other modules within it. For example `ng2-bootstrap`. This has modules that does different things. And you might want to use only some of them and not all of them (so, there is no point importing every module which will increase the filesize).\r\n\r\nCan someone give me an example/instructions if not too much trouble? Following the wiki page didnt work for me at all. I will continue to try few more things in the meantime :)"}}
{"actor":{"display_login":"syrys"}}