Answer the question
In order to leave comments, you need to log in
Angular: How to call my class-bound directive after ng-class is executed?
Greetings.
There is a directive
app.directive('myDirective',function(){
return {
restrict:'C',
link:function(){
DoSomething()'
}
}
});
<div ng-class="{'my-direcitve': a > 0}">Lorem ipsum...</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question