old_contents: angular.module('percentage', [])
      .filter('percentage', function ($window) {
          return function (input, decimals, suffix) {
              decimals = angular.isNumber(decimals)? decimals :  3;
              suffix = suffix || '%';
              if ($window.isNaN(input)) {
                  return '';
              }
              return Math.round(input * Math.pow(10, decimals + 2))/Math.pow(10, decimals) + suffix
          };
      });
  
new_contents: angular.module('percentage', [])
      .filter('percentage', ['$window', function ($window) {
          return function (input, decimals, suffix) {
              decimals = angular.isNumber(decimals)? decimals :  3;
              suffix = suffix || '%';
              if ($window.isNaN(input)) {
                  return '';
              }
              return Math.round(input * Math.pow(10, decimals + 2))/Math.pow(10, decimals) + suffix
          };
      }]);
  
subject: fix minimize build