Skip to content

Commit

Permalink
Added actual filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianhaas committed Sep 20, 2015
1 parent a4ebb8f commit f558d83
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/angular-humanize-duration.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(function( angular ) {
'use strict';

angular
.module('angular-humanize-duration', [])
.filter('humanizeDuration', function () {
return function (input, options) {
return humanizeDuration(input, options);
};
});

}( angular ));

0 comments on commit f558d83

Please # to comment.