Welcome aboard! We are happy you are here and wish you good net-raft!
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="//code.angularjs.org/snapshot/angular.min.js "></script>
</head>
<body ng-app="myapp">
<script>
angular.module('myapp', [])
.controller('myscope', ['$scope', function ($scope) {
mynuber = 2;
str = angular.isNumber(mynuber);
if (str == true) {
$scope.text = "is number!";
}
else {
$scope.text = "not number!";
}
} ]);
</script>
<form name="myForm" ng-controller="myscope">
<span>{{text}}</span>
</form>
</body>
</html>
The most helpful ANGULARJS solutions
How to get client ip address using angularjs ?ANGULARJS Click to see more ... 19.6K 2.8K