Search Posts

Angular md-tab & ng-repeat: adding custom style to specific tabs

I’m trying to customize a couple tabs because they’re different.
Here’s what I have:

    <md-tab ng-repeat="tab in tabs" ng-class="tab.customClass">
        <md-tab-label ng-bind="tab.label"></md-tab-label>

My issue: the custom class is not in the compiled md-tab-item

I don’t know how many tabs I have, so I cannot write CSS based on position.

Any ideas?

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.