Hi Jan Willem

Well, you first have to loose the jQuery habit before you will be able to 
make well-function directives ;)
This one is not that hard, and mostly an template directive, so you might 
give it a go. 

You don’t need the $('.m-item').removeClass('m-active'); at all, you have 
ng-class="{'m-active':$first}" in your template, and that takes care of 
that. 

I have no clue what the $('.m-scooch').scooch('reset') does, so I can’t 
tell you anything about that. If you want me to help you, you have to 
educate me a bit
about it.

Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to