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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -