/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Component, NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; // #docregion NgTemplateOutlet @Component({ selector: 'ng-template-outlet-example', template: `


Hello Hello {{name}}! Ahoj {{person}}! ` }) class NgTemplateOutletExample { myContext = {$implicit: 'World', localSk: 'Svet'}; } // #enddocregion @Component({ selector: 'example-app', template: `` }) class ExampleApp { } @NgModule({ imports: [BrowserModule], declarations: [ExampleApp, NgTemplateOutletExample], bootstrap: [ExampleApp] }) export class AppModule { }