I am trying to write an application using Angular -Material, and I have a form in which there are some required fields that require input confirmation. I tried to execute an example Angular page - material on errors , but when I view the code in a browser, error messages will still be displayed, even if the material is entered in the fields

My jade template is as follows:
form(name="accountForm") div(layout="row",layout-sm="column") md-input-container label Name input(name="acctName",ng-model="account.name",required) div(ng-messages="accountForm.acctName.$error") div(ng-message="required")
angularjs validation binding pug angular-material
mikeyGlitz
source share