Skip to content

bruiztorres/angular-complexify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular-complexify v0.3.1 Build Status

password strength validation

AngularJS port of jquery.complexify.js

Installing

var myApp = angular.module('myApp', [
  'angular-complexify'
]);

Usage

In javascript (provider)

myApp.controller('SomeCtrl', ['$scope', 'Complexify', function($scope, Complexify) {
  $scope.test = Complexify('somePassword');
}]);

In template (directive)

<input type="text" ng-model="password">

<p ng-show="password">
 <span complexify="password"></span>%,
 <span complexify="password" type="verbal"></span>
</p>

In template (filter using ui-bootstrap progressbar)

<progressbar value="password | complexify"></progressbar>

Tests

npm install
grunt karma:unit

--- © 2014 [Maciej Podsiedlak](http://mpodsiedlak.com) (WTFPL v2 licence)

About

AngularJS port of Dan Palmer's jquery.complexify.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published