var app = angular.module('auction', ['ui.bootstrap', 'ngCookies', 'pascalprecht.translate', 'timer', 'angular-growl']);
var db = {};
var bidder_id = "0"

app.constant('AuctionConfig', {
  auction_doc_id: auction_doc_id,
  remote_db: db_url,
  restart_retries: 10,
  default_lang: 'uk',
  debug: true
});

app.filter('formatnumber', ['$filter',
  function(filter) {
    return function(val) {
      return filter('number')(val).replace(/,/g, " ")
    }
  }
]);

app.config(['$logProvider', 'AuctionConfig', 'growlProvider', function($logProvider, AuctionConfig, growlProvider) {  
   $logProvider.debugEnabled(AuctionConfig.debug); // default is true
   growlProvider.globalTimeToLive({success: 4000, error: 10000, warning: 10000, info: 4000});
   growlProvider.globalPosition('top-center');
   growlProvider.onlyUniqueMessages(false);
}]);
@@ -398,16 +398,17 @@
  return 
+(
 filter('
@@ -420,16 +420,23 @@
 r')(val)
+ %7C%7C %22%22)
 .replace
@@ -446,16 +446,30 @@
 /g, %22 %22)
+ %7C%7C undefined;
 %0A    %7D%0A 
@@ -854,8 +854,9 @@
 e);%0A%7D%5D);
+%0A

Fix #16 undefined formatnumber