标签: javascript angular
组件位于另一台服务器上,它必须在异步加载后工作,而不在模块声明或entryComponents中添加
组件示例:
app.LoginComponent = ng.core.Component({ selector: 'login', template: '<h1>Hello component</h1>', }).Class({ constructor: function () { } });