docs: rewrite attribute binding section and add example (#26004)

PR Close #26004
This commit is contained in:
Kapunahele Wong
2018-09-10 16:30:24 -04:00
committed by Andrew Kushnir
parent e76690be29
commit b5aa0473fc
11 changed files with 288 additions and 67 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));