摘要:
// Register the `phoneList` component on the `phoneList` module, angular. module('phoneList'). component('phoneList', {...}); 通过phoneList在定义phonecatAp 阅读全文
摘要:
1— 例子 <html ng-app> 该属性表示angularjs伪指令,用于自定义属性和实现它们的相应指令。该指令用于标记angularjs应该认为是应用程序的根元素的html元素,可以告诉angularjs,若整个HTML页面或只有一部分应该视为angularjs应用程序。 script标签引 阅读全文