angular controller与directive相互引用
摘要:
/** * Created by Administrator on 2017/8/28. */ var app =angular.module('app',[]); app.directive('food',function () { return { restrict:"E", scope:[], controller:functio... 阅读全文
posted @ 2017-08-29 15:28 水行者 阅读(133) 评论(0) 推荐(0) 编辑