javascript - How to configure directive that comes from a third-party library -
is there way configure directive
comes third-party library?
i'm using library called angular-tablesort , want disable scope: true
option sets in directive
:
tablesortmodule.directive('tswrapper', ['$parse', '$compile', function( $parse, $compile ) { return { scope: true, controller: ['$scope', 'tablesortconfig', function($scope, tablesortconfig ) { /* ... */ } } }]);
is there way w/o modifying source code of library?
Comments
Post a Comment