摘要: 自定义指令 :用 directive angular.module("myApp",[]).directive("proList",fn) 通过添加 restrict 属性,值可以为 "ACEM", 来设置指令只能通过怎样的方式来调用: 默认值为AE A:作为属性使用;(<span pro-list 阅读全文
posted @ 2017-05-12 15:13 yaomengli 阅读(131) 评论(0) 推荐(0) 编辑