ng-tasty icon indicating copy to clipboard operation
ng-tasty copied to clipboard

problem - or Question with ng-tasty getResource

Open sali1982 opened this issue 10 years ago • 1 comments

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?

sali1982 avatar Dec 31 '15 16:12 sali1982

Make always sure to keep the flow simple and easy to understand. Can you show me a simple version of how you set the HTML of yours controller, please.

Zizzamia avatar Jan 02 '16 01:01 Zizzamia