angular-docs-cn/modules/rollup-test/hello_world.js

12 lines
243 B
JavaScript

var HelloWorldComponent = ng.core.Component({
selector: 'hello-world',
//template: 'hello world!!!'
templateUrl: 'hello-world.html'
}).Class({
constructor: function() {}
});
ng.platformBrowserDynamic.bootstrap(HelloWorldComponent);