Import BrowserModule,
BrowserAnimationsModule
, HttpModule
or HttpClientModule
only once, preferably in your root module.
More Related Contents:
- How do I create a singleton service in Angular 2?
- ‘router-outlet’ is not a known element
- Angular 2 Scroll to top on Route Change
- Angular 2 unit testing components with routerLink
- Angular 2 – How do I navigate to another route using this.router.parent.navigate(‘/about’)?
- How do I detect user navigating back in Angular2?
- Angular2 – Interaction between components using a service
- Angular2 router keep query string
- Multiple canActivate guards all run when first fails
- Pass parameter into route guard
- How can I select an element in a component template?
- Equivalent of $compile in Angular 2
- Angular2: Make route paths case insensitive
- angular 2 sort and filter
- Angular2 canActivate() calling async function
- Angular redirect to login page
- Angular2 – FormControl Validation on blur
- Angular4 Exception: Can’t bind to ‘ngClass’ since it isn’t a known property of ‘input’
- No provider for AngularFireDatabase, AngularFireAuth
- TS2531: Object is possibly ‘null’
- Custom ExceptionHandler change detection lag
- Angular 4 HttpClient Query Parameters
- Can’t bind to ‘formControl’ since it isn’t a known property of ‘input’ – Angular2 Material Autocomplete issue
- Type casting within a template in Angular 2
- Subscribing to a nested Observable
- How to declare a pipe globally to use in different modules?
- How to return value inside subscribe Angular 4
- Angular 2 / 4 / 5 – Ahead-of-time compilation how to
- Why is ES7/array polyfill needed despite the tsconfig target is set to ES5
- Firestore how to get the collection value from another collection document id is referenced