I was looking how filters works in Angularjs and I saw that we need to send 2 sets of parentheses.
$filter(\'number\')(number[, fractionSize])
It is the same as this:
var func = $filter('number'); func(number[, fractionSize]);
The $filter() function returns a pointer to another function.
$filter()