https://github.com/PatrickJS/angular-md5
md5 for Angular.js and Gravatar filter
https://github.com/PatrickJS/angular-md5
Last synced: 2 months ago
JSON representation
md5 for Angular.js and Gravatar filter
- Host: GitHub
- URL: https://github.com/PatrickJS/angular-md5
- Owner: PatrickJS
- License: mit
- Created: 2013-09-23T00:23:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T08:50:51.000Z (about 8 years ago)
- Last Synced: 2025-02-03T16:05:42.965Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 132
- Watchers: 12
- Forks: 55
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-md5 [](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)