Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (20 sloc) 985 Bytes

angular-match

This plugin is no longer actively maintained, you can still use it but issues will not be resolved. If you want the npm name, you can contact me by email.

Build Status Dependency Status devDependency Status

Validate if two inputs match the same value.

Install

bower install angular-match

Usage

<form class="signupForm">
    <input type="password" name="password" ng-model="password">
    <input type="password" name="repeatPassword" match="password">

    <div ng-show="myForm.repeatPassword.$error.match">Password do not match!</div>
</form>

License

MIT