A md5 crypto component for Angular.js

npm install angular-md5
6 downloads in the last week
51 downloads in the last month

angular-md5 Build Status

md5 for Angular.js and Gravatar filter

How do I add this to my project?

You can download angular-md5 by:

<body ng-app="YOUR_APP" ng-controller="MainCtrl">
  <img src="{{ email | gravatar }}">
  <input type="email" ng-model="email" placeholder="Email Address">
  {{ message }}
<script src=""></script>
<script src="app/bower_components/angular-md5/angular-md5.js"></script>
  angular.module('YOUR_APP', [
    'angular-md5', // you may also use 'ngMd5' or 'gdi2290.md5'
  angular.module('controllers', [])
    .controller('MainCtrl', ['$scope', 'md5', function($scope, md5) {

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

npm loves you