OK i did it in this way
scope.showGroup = function(group_id) {
angular.element('.section-name').removeClass('active');
element.find('.elements').first().find('span.section-name').addClass('active');
}
2014-10-06 10:50 GMT+02:00 korneliusz wilgocki <
[email protected]>:
> http://jsfiddle.net/mLucLuqv/
>
> --
> 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.
>
--
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.