>
<body>
    <div class="container">
        <form name="form" novalidate>
            <label for="required">Required (model:data.required, validate: required)</label>
            <input type="text" ng-model="data.required" name="required" validate="required" id="required" ng-model-options="{ updateOn: 'blur' }"/>

            <label for="">maxlength (ng-model="data.maxlength1", validate="maxlength:data.required")</label>
            <input type="text" ng-model="data.maxlength1" name="maxlength1" validate="