" validate="minlength:3"/>

            <label for="">required if</label>
            <input type="text" ng-model="data.gdfgdf" name="requiredif" validate="requiredif:data.required=data.maxlength1"/>

            <label class="checkbox" for="acc">Accepted</label>
            <input type="checkbox" ng-model="data.test" name="accepted" validate="accepted" id="acc"/>

        </form>
    </div>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script>
    <script src="htt