天天看点

AngularJS-directive自定义指令与link绑定事件

directive指令,link绑定事件($apply这种方式只需要改变页面的调用方法即可)

html代码

继续阅读