/** * @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, OnInit, TemplateRef, ViewChild} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {Subject} from 'rxjs/Subject'; // #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 { }