docs: add example and edit two-way-binding section of Template Syntax (#26278)

PR Close #26278
This commit is contained in:
Kapunahele Wong
2018-10-03 15:49:05 -04:00
committed by Andrew Kushnir
parent 85d38ae564
commit 7e3a60ad31
16 changed files with 256 additions and 21 deletions

View File

@ -0,0 +1,12 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.log(err));