lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

Angular 1.5 x component and accessing smart-table object via ctrl argument. #776

Closed cwoodland closed 7 years ago

cwoodland commented 7 years ago

Hello, This is more of a question than an issue. I am running angular 1.5. Smart-table version 2.1.8 I am using angular 1.5 components and want to get to the exposed smart-table object so I can adjust the search predicate. In the instructions, in the link function, smart-table is exposed via the ctrl argument when using a directive. Is there a way to grab this same object within a component?

Thanks

cwoodland commented 7 years ago

Thanks

lorenzofox3 commented 7 years ago

Sorry, I am not very familiar with "component". Hope you have found a solution