title: angular.isNumber not working
body: <p><strong>In my route controller I have the following code:</strong></p>
  
  <pre><code>console.log('quantaryNav:' + $routeParams.quantaryNav);
  
  // quantaryNav
  if ($routeParams.quantaryNav!= "" &amp;&amp; $routeParams.quantaryNav!= undefined) {
      console.log('result: ' + angular.isNumber($routeParams.quantaryNav ));
  }
  </code></pre>
  
  <p><strong>Console logs:</strong></p>
  
  <pre><code>quantaryNav :12 
  result :false
  </code></pre>
  
  <p>Is there a way to determine if a route param is a number in the controller?</p>
  
  <p>Post Script:
    This works</p>
  
  <pre><code>     console.log('raw: ' + angular.isNumber(12));
  
       raw: true 
  </code></pre>
  
  <p>But obviously I cannot hard code the value.</p>
  
  <p><strong>Thanks to mpm this works:</strong></p>
  
  <pre><code>  console.log('quantaryNav!!: ' + angular.isNumber(+($routeParams.quantaryNav)));
  
      quantaryNav!!: true
      quantaryNav :12 
  </code></pre>