{"action":"created","issue":{"url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/7","repository_url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular","labels_url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/7/comments","events_url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/7/events","html_url":"https://github.com/2muchcoffeecom/ng2-restangular/issues/7","id":191048547,"number":7,"title":"Module not found","user":{"login":"F3L1X79","id":9592639,"avatar_url":"https://avatars.githubusercontent.com/u/9592639?v=3","gravatar_id":"","url":"https://api.github.com/users/F3L1X79","html_url":"https://github.com/F3L1X79","followers_url":"https://api.github.com/users/F3L1X79/followers","following_url":"https://api.github.com/users/F3L1X79/following{/other_user}","gists_url":"https://api.github.com/users/F3L1X79/gists{/gist_id}","starred_url":"https://api.github.com/users/F3L1X79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F3L1X79/subscriptions","organizations_url":"https://api.github.com/users/F3L1X79/orgs","repos_url":"https://api.github.com/users/F3L1X79/repos","events_url":"https://api.github.com/users/F3L1X79/events{/privacy}","received_events_url":"https://api.github.com/users/F3L1X79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T16:05:49Z","updated_at":"2016-11-22T17:13:29Z","closed_at":null,"body":"After running 'npm install ng2-restangular'\r\n\r\n```\r\nimport { NgModule }      from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { AppComponent }   from './app.component';\r\nimport { RestangularModule } from 'ng2-restangular';\r\n@NgModule({\r\n  imports:      [ BrowserModule,     \r\n                    RestangularModule.forRoot((RestangularProvider) => {\r\n                        RestangularProvider.setBaseUrl('http://localhost:3011/api');\r\n                        RestangularProvider.setDefaultHeaders({'Authorization': 'Bearer UDXPx-Xko0w4BRKajozCVy20X11MRZs1'});\r\n                      }\r\n                    )  ],\r\n  declarations: [ AppComponent ],\r\n  bootstrap:    [ AppComponent ]\r\n})\r\nexport class AppModule { }\r\n```\r\n\r\nand adding it in the app.module.ts, I got:\r\n\r\n`localhost/:23 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/ng2-restangular(…)`\r\n\r\nI'm new to Angular2 and can't find why. Any clue?"},"comment":{"url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/comments/262302945","html_url":"https://github.com/2muchcoffeecom/ng2-restangular/issues/7#issuecomment-262302945","issue_url":"https://api.github.com/repos/2muchcoffeecom/ng2-restangular/issues/7","id":262302945,"user":{"login":"logvinoleg89","id":12018303,"avatar_url":"https://avatars.githubusercontent.com/u/12018303?v=3","gravatar_id":"","url":"https://api.github.com/users/logvinoleg89","html_url":"https://github.com/logvinoleg89","followers_url":"https://api.github.com/users/logvinoleg89/followers","following_url":"https://api.github.com/users/logvinoleg89/following{/other_user}","gists_url":"https://api.github.com/users/logvinoleg89/gists{/gist_id}","starred_url":"https://api.github.com/users/logvinoleg89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logvinoleg89/subscriptions","organizations_url":"https://api.github.com/users/logvinoleg89/orgs","repos_url":"https://api.github.com/users/logvinoleg89/repos","events_url":"https://api.github.com/users/logvinoleg89/events{/privacy}","received_events_url":"https://api.github.com/users/logvinoleg89/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T17:13:29Z","updated_at":"2016-11-22T17:13:29Z","body":"We have live demo on plunker with SystemJS. Here you can check how it works \r\n(Demo)[http://embed.plnkr.co/qozGPV2HowzmtKbC9a54/]\r\n\r\nMost likely you have problems in your SystemJS configs.\r\n"}}
{"actor":{"display_login":"logvinoleg89"}}