摘要: Therestrictoption is typically set to:'A'- only matches attribute name'E'- only matches element name'AE'- matches either attribute or element nameLet's change our directive to userestrict: 'E':1. index2.html 1 2 3 4 5 6 7 8 9 10 11 12 13 main2.js1 var app=angular. 阅读全文
posted @ 2014-01-04 15:33 yuluhuang 阅读(245) 评论(0) 推荐(0) 编辑