docs: re-write interpolation section and add example (#25170)

PR Close #25170
This commit is contained in:
Kapunahele Wong
2018-07-19 15:20:27 -04:00
committed by Andrew Kushnir
parent f854eb7dec
commit d505468fb7
16 changed files with 360 additions and 80 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));