A tasty collection of reusable UI components for Angular, like grandma used to make. Like Table directive, WebSocket / Debounce / Throttle service, Range / Camelize / Slugify filters
MIT License
435
stars
64
forks
source link
problem - or Question with ng-tasty getResource #198
My table is in a controller, but it is dependent on the other controller. Means the first controller has a service that gets and sets an id, and second controller will use that id and loads for the ng-tasty table something else based on that id.
I need to make sure that table does not load before that id is set. I have to put maybe watcher or on.
But the table returns a promise as it is hard to put it in a watch.
Hi dear,
I have a scenario. Please help me.
My table is in a controller, but it is dependent on the other controller. Means the first controller has a service that gets and sets an id, and second controller will use that id and loads for the ng-tasty table something else based on that id.
I need to make sure that table does not load before that id is set. I have to put maybe watcher or on.
But the table returns a promise as it is hard to put it in a watch.
What do you suggest?