I'm trying to use ngMessages with md-chips angular materials component, but I don't find nothing about it. I've tried this solution, but didn't work,
<md-input-container md-theme="hs-green" flex set-chips-validity>
<label class="label">Anno</label>
<md-chips name="yearInput" required ng-model="vm.offer.year">
<md-chip-template>
<span>{{$chip}}</span>
</md-chip-template>
</md-chips>
<div data-ng-messages="insertOfferDetailsForm.yearInput.$error" data-ng-show="insertOfferDetailsForm.yearInput.$dirty">
<div data-ng-message="required"><span translate="ERROR.FIELD.MANDATORY"></span></div>
</div>
</md-input-container>
Help me, please :)