Top "Angular2-modules" questions

Angular: Lazy loading modules with services

I've been following this tutorial, to understand lazy loading, and below is my inference. Scenario 1: Services are provided by putting …

angular angular2-services angular2-modules angular2-providers
Angular 2 define data models for multiple modules

I'm currently starting a new project with Angular 2.0 (release Version) and I want to define some global data models/schemas. …

angular typescript directory-structure datamodel angular2-modules
"Module" is not part of any NgModule or the module has not been imported into your module

I have an application with some modules. Here is my root module: // imports... @NgModule({ bootstrap: [ AppModule ], declarations: [ AppComponent, ...APP_PIPES // …

angular typescript angular2-modules
Angular2 - 'Can't resolve all parameters' error while injecting http into a custom service

I have built an ErrorHandlerLogger which is a service which extends ErrorHandler and logs error messages into a remote repository. …

angular angular2-services angular2-modules
Unexpected value 'MyCustomModule' imported by the module 'AppModule'

I am trying to migrate one of my angular2 custom library to RC.6 + Webpack. My directory structure is: - src …

angular webpack angular2-modules
Inherit imports from parent module to child module in Angular2

I made an Angular2 app like described here. It has two components (A,B) which are imported by the global …

angular single-page-application angular2-modules
Angular 2.0 Unexpected value '[object Object]' imported by the module 'AppModule'

When I try load my angular 2.0 application I get the following error: (index):21 Error: Error: Unexpected value '[object Object]…

angular typescript angular2-modules
How do I provide a service in a lazy-loaded module and have that service scoped to just the lazy-loaded module and its components?

In the angular docs FAQ section it states, "Unlike providers of the modules loaded at launch, providers of lazy-loaded modules …

angular angular2-routing angular2-modules
How to access a component from different module in angular 2

I am new to angular 2, so please excuse me if this question sounds trivial to you. I am creating a …

angular angular2-components angular2-modules