title: filtering the element with format
body: <p>I'm in learning process of angularjs, so this question came into my mind.</p>
  
  <pre><code>{{val | number:2}}
  </code></pre>
  
  <p>This results the number value to be decimal portion to 2 like <code>30.12</code></p>
  
  <p>But trying the same thing in the $scope, I couldn't get like that.</p>
  
  <pre><code>$scope.example = $filter('bhojendra')('uppercase');//BHOJENDRA
  $scope.val = $filter(30.12343)('number:2');//don't work
  $scope.foo = $filter(30.12334)('currency');//$30.12334
  $scope.foo = $filter(30.12334)('currency:"EUR"');//don't work
  </code></pre>