AngularJS学习笔记之TodoMVC的分析(4)


<script src="https://www.jb51.net/bower_components/todomvc-common/base.js"></script>
<script src="https://www.jb51.net/bower_components/angular/angular.js"></script>
<script src="https://www.jb51.net/js/app.js"></script>
<script src="https://www.jb51.net/js/controllers/todoCtrl.js"></script>
<script src="https://www.jb51.net/js/services/todoStorage.js"></script>
<script src="https://www.jb51.net/js/directives/todoFocus.js"></script>
<script src="https://www.jb51.net/js/directives/todoEscape.js"></script>

定义style[ng-cloak],含有ng-cloak属性则不可见。

复制代码 代码如下:


<style>[ng-cloak] { display: none; }</style>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wgfjsd.html