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
        };
    });

@@ -51,16 +51,28 @@
 entage',
+ %5B'$window',
  functio
@@ -434,11 +434,12 @@
 %7D;%0A    %7D
+%5D
 );%0A

fix minimize build