/** * @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 {bootstrap} from '@angular/platform-browser-dynamic'; import {Component} from '@angular/core'; import {Zippy} from './app/zippy'; @Component({ selector: 'zippy-app', template: ` This is some content. `, directives: [Zippy] }) class ZippyApp { logs: string[] = []; pushLog(log: string) { this.logs.push(log); } } export function main() { bootstrap(ZippyApp); }