Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(){
- 'use strict';
- /**
- * @ngdoc filter
- * @name identificacionApp.filter:EdadYears
- * @function
- * @description
- * # EdadYears
- * Filter in the identificacionApp.
- */
- EdadYearsFilter.$inject=['Utils'];
- function EdadYearsFilter(Utils) {
- return function (input) {
- var res = '';
- if (input!=null){
- res = Utils.calcularEdad(input);
- }
- return res;
- };
- }
- angular.module('padron.filters').filter('EdadYears',EdadYearsFilter);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement