AngularJS port of jquery.complexify.js
var myApp = angular.module('myApp', [
'angular-complexify'
]);
myApp.controller('SomeCtrl', ['$scope', 'Complexify', function($scope, Complexify) {
$scope.complexify = Complexify('somePassword');
}]);
<input type="text" ng-model="password">
<p ng-show="password">
<span complexify="password"></span>%,
<span complexify="password" type="verbal"></span>
</p>
<form name="form">
<input name="password" type="password" ng-model="password" complexify-validate="60">
</form>
ng-invalid-password-complexity or ng-valid-password-complexity is added as user types. Above example sets 60% complexity as threshold.
<progressbar value="password | complexify"></progressbar>
npm install
grunt karma:unit