/** * @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}}! ` }) export class NgTemplateOutletExample { myContext = {$implicit: 'World', localSk: 'Svet'}; } // #enddocregion @Component({ selector: 'example-app', template: `` }) export class AppComponent { } @NgModule({ imports: [BrowserModule], declarations: [AppComponent, NgTemplateOutletExample], }) export class AppModule { }