I just added below code in angularjs controller to test number value,
$scope.isNumeric = angular.isNumeric;
And I am getting this error
TypeError: angular.isNumeric is not a function
I am trying to check number type like this.
<div ng-if="isNumeric(10)">
This is numeric
</div>
Jsfiddle : https://jsfiddle.net/49k9cLz1/2/
$scope.isNumeric = angular.isNumber;, There is noisNumericmethodisNumberand that has the same issue what version of angular are you using?