最新回答 / bilibili_
/** * Created by Administrator on 2017/3/21. */var booksStoreModule = angular.module('my.new.module',[]);booksStoreModule.service('Book',['$rootScope',function ($rootScope) { var service = { books:[ {title:'测试',author:'周斌'}, ...
2017-03-17
最新回答 / 慕的地4829326
因为scope.showMe=!scope.showMe;这个是私有范围的设置,所以每个expander 都有自己的scope.showMe,只有点击哪个expander才会发生scope.showMe的变化
2016-11-10