{"id":29263093,"url":"https://github.com/PatrickJS/angular-password","last_synced_at":"2025-07-04T11:07:33.952Z","repository":{"id":19895810,"uuid":"23160717","full_name":"PatrickJS/angular-password","owner":"PatrickJS","description":"The most performant AngularJS directive for matching two password input fields","archived":false,"fork":false,"pushed_at":"2018-07-20T21:18:52.000Z","size":17,"stargazers_count":45,"open_issues_count":3,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T16:08:40.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PatrickJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-20T19:08:58.000Z","updated_at":"2022-02-08T16:13:36.000Z","dependencies_parsed_at":"2022-07-20T17:52:09.775Z","dependency_job_id":null,"html_url":"https://github.com/PatrickJS/angular-password","commit_stats":null,"previous_names":["gdi2290/angular-password"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/PatrickJS/angular-password","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fangular-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fangular-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fangular-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fangular-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickJS","download_url":"https://codeload.github.com/PatrickJS/angular-password/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fangular-password/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261949038,"owners_count":23234938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-04T11:07:30.977Z","updated_at":"2025-07-04T11:07:33.939Z","avatar_url":"https://github.com/PatrickJS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-password\n================\n\nThe most performant AngularJS directive for matching two password input fields. I use angular's built in $parsers rather than relying on a $watch\n\nInstallation\n\n`bower install angular-password`\n\nor\n\n`npm install angular-password`\n\nInject angular-password into your module\n\n```javascript\nangular.module('yourmodulename', ['ngPassword']);\n```\n\nSimple example.\n\n```html\n\u003cinput name=\"newPassword\" ng-model=\"password.new\"\u003e\n\u003cinput match-password=\"newPassword\" name=\"confirmPassword\" ng-model=\"password.confirm\"\u003e\n```\nWith ngMessages\n```html\n\u003cform name=\"profileForm\" autocomplete=\"off\" novalidate=\"\" ng-submit=\"submit(password)\"\u003e\n  \u003cfieldset\u003e\n    \u003clabel for=\"newPassword\"\u003eNew Password\u003c/label\u003e\n    \u003cinput type=\"password\" name=\"newPassword\" ng-model=\"password.new\" required=\"\"/\u003e\n    \u003cdiv class=\"clearfix\"\u003e\n      \u003cdiv ng-messages=\"profileForm.newPassword.$error\" ng-if=\"profileForm.$submitted || profileForm.newPassword.$dirty\" ng-messages-multiple=\"ng-messages-multiple\" class=\"error-messages slide-right\"\u003e\n        \u003cdiv ng-message=\"required\" class=\"message slide-left\"\u003eYou did not enter a field name\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n    \u003clabel for=\"confirmPassword\"\u003eRe-Type New Password\u003c/label\u003e\n    \u003cinput type=\"password\" name=\"confirmPassword\" ng-model=\"password.confirm\" match-password=\"newPassword\" required=\"\"/\u003e\n    \u003cdiv class=\"clearfix\"\u003e\n      \u003cdiv ng-messages=\"profileForm.confirmPassword.$error\" ng-if=\"profileForm.$submitted || profileForm.confirmPassword.$dirty\" ng-messages-multiple=\"ng-messages-multiple\" class=\"error-messages slide-right\"\u003e\n        \u003cdiv ng-message=\"required\" class=\"message slide-left\"\u003eYou did not enter a field name\u003c/div\u003e\n        \u003cdiv ng-message=\"passwordMatch\" class=\"message slide-left\"\u003eYour passwords did not match\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/fieldset\u003e\n  \u003cbutton\u003eSubmit\u003c/button\u003e\n\u003c/form\u003e\n```\n\nLicensing information can be found [here](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPatrickJS%2Fangular-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPatrickJS%2Fangular-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPatrickJS%2Fangular-password/lists"}