角度指令;
.directive('ngFilemanager', function () { return { restrict: 'EA', scope: { thefilter: '=', }, link: function (scope, element, attrs) { }, templateUrl: '/templates/filemanager.html', controller: FileManagerController }
HTML:
...Set Filter... ...
如何在函数中设置过滤器值OtherController
?
我尝试通过jquery设置属性值,但我的ng-view没有正确更新.