摘要: 在angularjs中,一个directive返回一个对象,对象存在很多属性,并且可以在directive中自定义自己的scope,而使用自己的scope是为了防止一个directive被使用在多个地方之间发生相互影响,通常这个scope可以被定义为true或者对象,当这个scope被定义为true... 阅读全文
posted @ 2014-11-01 16:27 myzhibie 阅读(576) 评论(0) 推荐(0) 编辑