Skip to content
Huei Tan edited this page Jun 12, 2014 · 1 revision

Quick Start

Include the angular.js and angular-validation.js

<script src="angular.js"></script>
<script src="angular-validation.js"></script>

Your html code

<form name="Form">
    <label>Required</label>
    <input type="text" name="require" model="form.required" validator="required" />

    <input type="submit" validation-submit="Form" ng-click="action()"/>
</form>
Clone this wiki locally