Is there a way to style the md-input label inside md-input-container using ng-class?
I am able to style it with inline css, but when a css class is applied to the label, it does not work?
Is that the expected behaviour(with any workaround?) or am I missing something?
CSS:
.red {
color: red;
}
HTML:
<md-input-container class="md-block" flex-gt-xs="">
<label class="red">Company (Disabled)</label>
<input ng-model="user.company" disabled="">
</md-input-container>
The label does not change color as it does with this code:
<md-input-container class="md-block" flex-gt-xs="">
<label style="color:red">Company (Disabled)</label>
<input ng-model="user.company" disabled="">
</md-input-container>
Please suggest!