1.5.1
Bug Fixes
- Fix error BrowserModule has already been loaded at runtime and update readme (c06b7eb) (#166) @jfcere @scote
Breaking changes
Since we added mz-validation
directive we use advance animation transition. You need to install @angular/animations
and include BrowserAnimationsModule
if you want those animation to work.
npm install --save @angular/animations
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppModule } from './app.module';
@NgModule({
imports: [
+ BrowserAnimationsModule,
],
})
export class AppModule { }
If you don't want to install a new dependency in your application, you can include NoopAnimationsModule
.
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppModule } from './app.module';
@NgModule({
imports: [
+ NoopAnimationsModule,
],
})
export class AppModule { }