Top "Ng-modules" questions

Angular NgModule is a class marked by the @NgModule decorator.

how to use sharedModule in angular2?

I have one angular2 component which I want to share among multiple modules. So I wrote below sharedModule , import { NgModule } …

angular typescript angular2-modules ng-modules
Getting Error with HttpClient Module in angular

ERROR in node_modules/@angular/common/http/http.d.ts:81:22 - error NG6002: Appears in the NgModule.imports of AppModule, …

angular httpclient ng-modules
How to inherit a module from another module in Angular2?

So I'm using Angular 2 final (2.0.0) and let's say i create a WidgetsModule with a bunch of directives and components that …

inheritance angular ng-modules
Add Models/Entities/Objects to NgModule in Angular 2

I've been trying to create an @NgModule (named ModelsModule) made of objects like User, Book, Library, Movie, and so on. …

angular typescript ng-modules