{"_id":"angular-validation-match","_rev":"8-e7978b534cd5f30ef09e86c180ce3dae","name":"angular-validation-match","description":"Checks if one input matches another","dist-tags":{"latest":"1.9.0"},"versions":{"1.5.1":{"name":"angular-validation-match","version":"1.5.1","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./dist/angular-validation-match.min.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"devDependencies":{"chai":"1.10.0","gulp":"^3.8.8","gulp-bump":"~0.1.0","gulp-karma":"0.0.4","gulp-ng-annotate":"^0.3.3","gulp-sequence":"^0.3.1","gulp-uglifyjs":"^0.4.3","gulp-wrap":"^0.3.0","karma":"^0.12.21","karma-chai-sinon":"^0.1.4","karma-chrome-launcher":"~0.1.0","karma-firefox-launcher":"~0.1.0","karma-mocha":"~0.1","karma-phantomjs-launcher":"~0.1.0","karma-script-launcher":"~0.1.0","sinon":"^1.12.1","sinon-chai":"^2.6.0"},"gitHead":"cb6932a427b3f4b75a8cd99ad723c2b02da0f833","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.5.1","_shasum":"3f9631434ccc0cfb63b610018b8f3a8afbfd4514","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"3f9631434ccc0cfb63b610018b8f3a8afbfd4514","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.5.1.tgz","integrity":"sha512-yZW6UdvaAppUTimifLqaBHJfgTo1yRh+k6oRHei36uh9ciVHng/WrxpNgRUTxO9bEX9AkzjfByfJCfjHFVCo0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdmg2XjYMiV5PW8+ztr16CluVFn8CwB2P9cGDmGtVwXAiEAtjj7jj5zauNNzs7lbX7yZZXcQjyGAWzBze6/n8vF45I="}]}},"1.5.2":{"name":"angular-validation-match","version":"1.5.2","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./index.js","scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"devDependencies":{"chai":"1.10.0","gulp":"^3.8.8","gulp-bump":"~0.1.0","gulp-karma":"0.0.4","gulp-ng-annotate":"^0.3.3","gulp-sequence":"^0.3.1","gulp-uglifyjs":"^0.4.3","gulp-wrap":"^0.3.0","karma":"^0.12.21","karma-chai-sinon":"^0.1.4","karma-chrome-launcher":"~0.1.0","karma-firefox-launcher":"~0.1.0","karma-mocha":"~0.1","karma-phantomjs-launcher":"~0.1.0","karma-script-launcher":"~0.1.0","sinon":"^1.12.1","sinon-chai":"^2.6.0"},"gitHead":"77d208f26ec8f9ef5643dacaab80d048af397eb9","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.5.2","_shasum":"5bfe70f6194bb020164301f44fab081bf80e685c","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"5bfe70f6194bb020164301f44fab081bf80e685c","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.5.2.tgz","integrity":"sha512-YZJz5fKBylQGiuTKFN9R2kKt1BGNmSPFqD3stNcdWKxYGbpnnXhhGxkyxcgAXFiZSaHOS1fNOoWgjnMGCM2C6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDp6ACl/yM9ZYhO4dzcAUD8nG1jtDu3me6SEVs2iQ3JJwIhANBcA1X6L+l7+bnQODgv3QwCyIGE7Ka4jeKz3HkVat0x"}]}},"1.7.0":{"name":"angular-validation-match","version":"1.7.0","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./index.js","scripts":{"test":"gulp test","build":"gulp build"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match.git"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":"MIT","dependencies":{"angular":">=1.3.0 <2.0.0"},"devDependencies":{"angular-mocks":">=1.3.0 <2.0.0","chai":"^3.4.1","dirty-chai":"1.2.2","gulp":"^3.9.0","gulp-bump":"^1.0.0","gulp-karma":"0.0.5","gulp-ng-annotate":"^1.1.0","gulp-rename":"^1.2.2","gulp-sequence":"^0.4.1","gulp-uglify":"^1.5.1","gulp-wrap":"^0.11.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.2","karma-firefox-launcher":"^0.1.0","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^0.2.1","mocha":"^2.3.4","phantomjs":"^1.9.19","sinon":"^1.16.1","sinon-chai":"^2.8.0"},"gitHead":"19923abfa0d4f7fab47ad79cfa6e57d5a0d642e2","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.7.0","_shasum":"48306a8baa87c532cb6f6f6e8d2c3350d70f1259","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"48306a8baa87c532cb6f6f6e8d2c3350d70f1259","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.7.0.tgz","integrity":"sha512-HfVkypr1yGRuenPnRX7KyizJJ+1vNP7W9DDz4wmolkz4ZKqcfji7Y9Hy97chifiLCcotY/Q/oAyaK+ZO1t+GhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkpF9BltPrBYqeJTH7uqQLYz2LfnWNNLBFXFJnn0FItAIgfXELVloUt/bUxTTW3PPzYpHwgGTdPWyY0H8x0iqgJ+0="}]}},"1.7.1":{"name":"angular-validation-match","version":"1.7.1","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./index.js","scripts":{"test":"gulp test","build":"gulp build"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match.git"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":"MIT","dependencies":{"angular":">=1.3.0 <2.0.0"},"devDependencies":{"angular-mocks":">=1.3.0 <2.0.0","chai":"^3.4.1","dirty-chai":"1.2.2","gulp":"^3.9.0","gulp-bump":"^1.0.0","gulp-karma":"0.0.5","gulp-ng-annotate":"^1.1.0","gulp-rename":"^1.2.2","gulp-sequence":"^0.4.1","gulp-uglify":"^1.5.1","gulp-wrap":"^0.11.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.2","karma-firefox-launcher":"^0.1.0","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^0.2.1","mocha":"^2.3.4","phantomjs":"^1.9.19","sinon":"^1.16.1","sinon-chai":"^2.8.0"},"gitHead":"95e0df63f365bc019f05c5e245f7486743e58360","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.7.1","_shasum":"7aeff3ae625818e4170e18c547a1ba1575a56279","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"7aeff3ae625818e4170e18c547a1ba1575a56279","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.7.1.tgz","integrity":"sha512-TCmSMakrrYJdh7BP7G3xty6AUIG8+bWe9YltjyZg7gakRjVo2Bc8p9R93O76WqHPV4H5KuRq5LiGr2RtZ3gE9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsKOWt8wV7o4OgWGTInj5+PcYm9wUMjBW1BS6f2nYSFAiEA4anDKA/c4QROUG6L9Hm1JdyjLLJpodbKO3EVPX3nPHo="}]}},"1.8.0":{"name":"angular-validation-match","version":"1.8.0","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./index.js","scripts":{"test":"gulp test","build":"gulp build"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match.git"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":"MIT","dependencies":{"angular":">=1.3.0 <2.0.0"},"devDependencies":{"angular-mocks":">=1.3.0 <2.0.0","chai":"^3.4.1","dirty-chai":"1.2.2","gulp":"^3.9.0","gulp-bump":"^1.0.0","gulp-karma":"0.0.5","gulp-ng-annotate":"^1.1.0","gulp-rename":"^1.2.2","gulp-sequence":"^0.4.1","gulp-uglify":"^1.5.1","gulp-wrap":"^0.11.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.2","karma-firefox-launcher":"^0.1.0","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","mocha":"^2.3.4","phantomjs-prebuilt":"^2.1.7","sinon":"^1.16.1","sinon-chai":"^2.8.0"},"gitHead":"13a885af7ce5b06be6c50f7c4709b15655b1b486","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.8.0","_shasum":"5b06f0a869839b8b9ef634343dfb0e6218c1d11d","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"5b06f0a869839b8b9ef634343dfb0e6218c1d11d","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.8.0.tgz","integrity":"sha512-lvl0/RwhHjeXeYPb6OqW1AXlYssfl37799/tq6vp4XkqF4kmMBTs/5HVEASh2otKJC8ZBXeb/Fr8btpTWjH6Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICODS2sb+grUuG89hWdhpZg4jRuJWj/zIHsq1Q84dq0IAiBHkLWLKKx1/PaYOKTnHx/NoaWE+Uws5u97kv5XGiyBHw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-validation-match-1.8.0.tgz_1461951224798_0.16912833391688764"}},"1.9.0":{"name":"angular-validation-match","version":"1.9.0","homepage":"https://github.com/TheSharpieOne/angular-validation-match","description":"Checks if one input matches another","main":"./index.js","scripts":{"test":"gulp test","build":"gulp build"},"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match.git"},"keywords":["Angular","input","form","confirmation","match","validation"],"author":"","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"license":"MIT","dependencies":{"angular":">=1.3.0 <2.0.0"},"devDependencies":{"angular-mocks":">=1.3.0 <2.0.0","chai":"^3.4.1","dirty-chai":"1.2.2","gulp":"^3.9.0","gulp-bump":"^1.0.0","gulp-karma":"0.0.5","gulp-ng-annotate":"^1.1.0","gulp-rename":"^1.2.2","gulp-sequence":"^0.4.1","gulp-uglify":"^1.5.1","gulp-wrap":"^0.11.0","karma":"^0.13.15","karma-chrome-launcher":"^0.2.2","karma-firefox-launcher":"^0.1.0","karma-mocha":"^0.2.1","karma-phantomjs-launcher":"^1.0.0","mocha":"^2.3.4","phantomjs-prebuilt":"^2.1.7","sinon":"^1.16.1","sinon-chai":"^2.8.0"},"gitHead":"22c809df4b7a45b829823fffb8320dbb02c3fee3","bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"_id":"angular-validation-match@1.9.0","_shasum":"03d82d0b983bf22366c5d22a0c291731625dcf80","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"sharpie","email":"dumbdrum@gmail.com"},"dist":{"shasum":"03d82d0b983bf22366c5d22a0c291731625dcf80","tarball":"https://registry.npmjs.org/angular-validation-match/-/angular-validation-match-1.9.0.tgz","integrity":"sha512-luRJ1ogKvn1ZbLgdIoIStDpj5t1X5ykATGue1ylGeJphXACqFUUp8sUSRSVUMxAjZchQKVneTbjw8arZjwO4lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTeP+JWwRlU2lKVYMjnJqH3Kf7Q3ptasKSWWcAz7KrnAiAk2kGOgyp4Y7RrVRzzqHuca2/TsbRY9YeKZuH7RsfF4g=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/angular-validation-match-1.9.0.tgz_1462549413232_0.4304229321423918"}}},"readme":"[![Build Status](https://travis-ci.org/TheSharpieOne/angular-validation-match.svg?branch=master)](https://travis-ci.org/TheSharpieOne/angular-validation-match)\n[![Code Climate](https://codeclimate.com/github/TheSharpieOne/angular-validation-match/badges/gpa.svg)](https://codeclimate.com/github/TheSharpieOne/angular-validation-match) [![Test Coverage](https://codeclimate.com/github/TheSharpieOne/angular-validation-match/badges/coverage.svg)](https://codeclimate.com/github/TheSharpieOne/angular-validation-match)\n[![Coverage Status](https://coveralls.io/repos/TheSharpieOne/angular-validation-match/badge.png)](https://coveralls.io/r/TheSharpieOne/angular-validation-match)\n[![Dependency Status](https://david-dm.org/thesharpieone/angular-validation-match.svg?style=flat)](https://david-dm.org/thesharpieone/angular-validation-match)\n[![devDependency Status](https://david-dm.org/thesharpieone/angular-validation-match/dev-status.svg?style=flat)](https://david-dm.org/thesharpieone/angular-validation-match#info=devDependencies)\n\nAngular Validation: Match\n===================\n\nChecks if one input matches another.  Useful for confirming passwords, emails, or anything.\n\nThe `match` attribute should be set equal to the ng-model value of the field to match.\n\n**Demo:** http://jsfiddle.net/TheSharpieOne/r6Ltru6c/\n\nInstallation\n------------\n\n`bower install angular-validation-match`\n\nThen add `validation.match` to your angular dependencies\n\n<small>*Note: For angular 1.2 or lower use* `bower install angular-validation-match#1.3`</small>\n\nAlso: `npm install angular-validation-match`\n\nUsage\n-----\n\n**Simple Property Example**\n\n```html\nPassword: <input ng-model=\"password\" type=\"password\" />\nConfirm: <input ng-model=\"passwordConfirm\" type=\"password\" match=\"password\" />\n```\n\n**Object Property Example**\n\n```html\nPassword: <input ng-model=\"user.password\" type=\"password\" />\nConfirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"user.password\" />\n```\n\n**Case insensitive (caseless) Example**\n\n```html\nPassword: <input ng-model=\"user.password\" type=\"password\" />\nConfirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"user.password\" match-caseless=\"true\" />\n```\n<small>`match-caseless` can accept a scoped variable to allow the matching to be toggle-able between case insensitive and case sensitive. Default: false</small>\n\n**Not Match Example**<br>\nSometimes you want to ensure the values do *not* match, in that case you can use the `not-match` flag.\nThis also works in combination with `match-caseless` (if you want to not match case insensitively).\n```html\nPassword: <input ng-model=\"user.password\" type=\"password\" />\nConfirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"user.password\" not-match=\"true\" />\n```\n<small>`not-match` can accept a scoped variable (`true`/`false`) to be toggle-able between matching and not matching. Default: false</small>\n\n**Ignore empty Example**\n\n```html\nPassword: <input ng-model=\"user.password\" type=\"password\" />\nConfirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"user.password\" match-ignore-empty=\"true\" />\n```\n<small>`match-ignore-empty` can accept a scoped variable to disable validating an empty input. Default: false</small>\n\n**Display Custom Error**<br>\nIf your form and field both are named, you can access the validation result to show/hide messages.\n\n```html\n<form name=\"myForm\">\n      Password: <input ng-model=\"user.password\" type=\"password\" name=\"passwordName\" />\n      Confirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"user.password\" name=\"myConfirmField\" />\n      <div ng-show=\"myForm.myConfirmField.$error.match\">Fields do not match!</div>\n</form>\n```\n\n**Validate Against the `$viewValue` shown in the input**<br>\nThe internal value (`$modelValue`) can differ from the external value (`$viewValue`) as appears in the input field shown to the user.  If your form and field both are named, you can validate against value displayed in the field, even if the field is invalid.\n\n```html\n<form name=\"myForm\">\n    Password: <input ng-model=\"user.password\" type=\"password\" name=\"myPasswordField\" />\n    Confirm: <input ng-model=\"user.passwordConfirm\" type=\"password\" match=\"myForm.myPasswordField\" name=\"myConfirmField\" />\n</form>\n```\n<small>Note: `$viewValue`s are specific to fields/elements, not models.  Different fields with the same `ngModel` and have different `$viewValue`s.  Becuase of this, you need to use the form directive (assigning a `name` to a form tag) in combination with the specific field's name attribute to specific which field/element you want to match in particular.</small>\n","maintainers":[{"name":"sharpie","email":"dumbdrum@gmail.com"}],"time":{"modified":"2022-06-13T02:59:22.181Z","created":"2015-06-23T23:52:42.369Z","1.5.1":"2015-06-23T23:52:42.369Z","1.5.2":"2015-08-24T18:06:27.432Z","1.7.0":"2015-12-17T20:39:34.828Z","1.7.1":"2015-12-17T21:05:40.146Z","1.8.0":"2016-04-29T17:33:47.041Z","1.9.0":"2016-05-06T15:43:34.840Z"},"homepage":"https://github.com/TheSharpieOne/angular-validation-match","keywords":["Angular","input","form","confirmation","match","validation"],"repository":{"type":"git","url":"git://github.com/TheSharpieOne/angular-validation-match.git"},"bugs":{"url":"https://github.com/TheSharpieOne/angular-validation-match/issues"},"license":"MIT","readmeFilename":"README.md"}