An open API service indexing awesome lists of open source software.

https://github.com/patrickjs/angular-md5

md5 for Angular.js and Gravatar filter
https://github.com/patrickjs/angular-md5

Last synced: 5 months ago
JSON representation

md5 for Angular.js and Gravatar filter

Awesome Lists containing this project

README

          

# angular-md5 [![Build Status](https://travis-ci.org/gdi2290/angular-md5.png?branch=master)](https://travis-ci.org/gdi2290/angular-md5)
md5 for Angular.js and Gravatar filter

#How do I add this to my project?

You can download angular-md5 by:

* (prefered) Using bower and running `bower install angular-md5 --save`
* Using npm and running `npm install angular-md5 --save`
* Downloading it manually by clicking [here to download development unminified version](https://raw.github.com/gdi2290/angular-md5/master/angular-md5.js)

````html



{{ message }}

angular.module('YOUR_APP', [
'angular-md5', // you may also use 'ngMd5' or 'gdi2290.md5'
'controllers'
]);
angular.module('controllers', [])
.controller('MainCtrl', ['$scope', 'md5', function($scope, md5) {

$scope.$watch('email' ,function() {
$scope.message = 'Your email Hash is: ' + md5.createHash($scope.email || '');
});

}]);

````

[MIT](https://github.com/gdi2290/angular-md5/blob/master/LICENSE)