{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/16231","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/16231/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/16231/comments","events_url":"https://api.github.com/repos/angular/angular/issues/16231/events","html_url":"https://github.com/angular/angular/issues/16231","id":223378826,"number":16231,"title":"Angular 4 Error","user":{"login":"Roshan1729","id":27290616,"avatar_url":"https://avatars2.githubusercontent.com/u/27290616?v=3","gravatar_id":"","url":"https://api.github.com/users/Roshan1729","html_url":"https://github.com/Roshan1729","followers_url":"https://api.github.com/users/Roshan1729/followers","following_url":"https://api.github.com/users/Roshan1729/following{/other_user}","gists_url":"https://api.github.com/users/Roshan1729/gists{/gist_id}","starred_url":"https://api.github.com/users/Roshan1729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roshan1729/subscriptions","organizations_url":"https://api.github.com/users/Roshan1729/orgs","repos_url":"https://api.github.com/users/Roshan1729/repos","events_url":"https://api.github.com/users/Roshan1729/events{/privacy}","received_events_url":"https://api.github.com/users/Roshan1729/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-21T13:10:10Z","updated_at":"2017-04-21T13:10:10Z","closed_at":null,"body":"I'm getting the following error on loading of my app.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/27290616/25278596/acc7af56-2671-11e7-8804-74399ef48d4b.PNG)\r\n\r\n\r\n\r\nThis is my app.module.ts\r\n\r\nimport { NgModule, APP_INITIALIZER, ErrorHandler } from '@angular/core';\r\nimport { LocationStrategy, HashLocationStrategy } from '@angular/common';\r\nimport { HttpModule, JsonpModule, Jsonp } from '@angular/http';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { FormsModule, FormGroup, FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { routing, appRoutingProviders } from './app.routing';\r\nimport { AppConfig } from './app.config';\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { HomeComponent } from './home/home.component';\r\n\r\n{\r\n\r\n\r\n@NgModule({\r\n    imports: [\r\n        BrowserModule,\r\n        FormsModule,\r\n        routing,\r\n        HttpModule,\r\n       \r\n        SimpleNotificationsModule.forRoot(),\r\n    ],\r\n    exports: [\r\n        GenericFilterPipe,\r\n        OptionsFilterPipe\r\n    ],\r\n    declarations: [\r\n       \r\n        HomeComponent,\r\n        AppComponent,\r\n       \r\n    ],\r\n    providers: [\r\n        HttpModule,\r\n        ConfigurationService,\r\n       \r\n        { provide: LocationStrategy, useClass: HashLocationStrategy },\r\n        LOGGING_ERROR_HANDLER_PROVIDERS,\r\n        {\r\n            provide: LOGGING_ERROR_HANDLER_OPTIONS,\r\n            useValue: {\r\n                rethrowError: false,\r\n                unwrapError: true\r\n            }\r\n        },\r\n        appRoutingProviders,\r\n        \r\n        AppConfig,\r\n       \r\n        {\r\n            provide: APP_INITIALIZER,\r\n            useFactory: init_app,\r\n            deps: [AppConfig, ConfigurationService, LoggerService],\r\n            multi: true\r\n        }\r\n    ],\r\n    bootstrap: [AppComponent, appRoutingProviders]\r\n})\r\n\r\n\r\nexport class AppModule\r\n{\r\n    constructor(private httpModule: HttpModule)\r\n    {\r\n\r\n    }\r\n}\r\n\r\n\r\nAny help would be appriciated."}}
{"actor":{"display_login":"Roshan1729"}}