Ng-class does not remove static entries inthe attribute. If you want both active and error then just create a controller method that returns an array of class strings based on whether the tab is in error and/or active.
...from my mobile.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/ViCeQ87Sps8J.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.