摘要: 1.angularInit 初始化页面中是否有ng-app指令,如果有的话,则启动;若果没有的话,则需要手动启动。自动启动: if (appElement) {//如果appelement存在,则执行。 bootstrap(appElement, module ? [module] : []); ... 阅读全文
posted @ 2015-03-08 16:29 Chach 阅读(154) 评论(0) 推荐(0)