Answer the question
In order to leave comments, you need to log in
How to write a directive in angular?
Hello!
I’ve been working with Angular not so long ago, apparently I didn’t catch something from the basic concepts
. I created a directive that hangs events on table elements.
I open the table for the 1st time, the view for the table is loaded, my directive works, events are hung, callbacks are called. I close the
table:
ng-show='false'
ng-include=' '
Answer the question
In order to leave comments, you need to log in
did not quite understand the question without an example, but try replacing ng-show with ng-if
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question