Example of using BrowserAnimationsModule

This commit is contained in:
Steve Sanderson
2017-08-24 15:44:56 -07:00
parent e5f1299239
commit c0c47e3def
4 changed files with 17 additions and 4 deletions

View File

@@ -2,12 +2,14 @@ import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppModuleShared } from './app.module.shared';
import { AppComponent } from './components/app/app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({
bootstrap: [ AppComponent ],
imports: [
BrowserModule,
AppModuleShared
AppModuleShared,
BrowserAnimationsModule
],
providers: [
{ provide: 'BASE_URL', useFactory: getBaseUrl }