How to validate form in AngularJS 1.x component
问题 I have a form that its fields are inside the component. Now I want to validate the fields. The problem is, my messages don't show up. also the pattern doesn't have any effects. I tried to fix it with help of this post, but no success. Does someone have any idea how can I show my messages? index.html <form name="dataForm"> <md-tabs> <valid-data form-reference="dataForm"></valid-data> </md-tabs> <div> <md-button type="submit" ng-click="vm.save()"> Save </md-button> </div> </form> component.html