JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app ng-controller="ctrl" ng-init="foo = [1,2,3,4]">
{{ isArray(foo) }}
</div>
JavaScript
function ctrl($scope) {
$scope.isArray = angular.isArray;
}
<div ng-app ng-controller="ctrl" ng-init="foo = [1,2,3,4]">
{{ isArray(foo) }}
</div>
function ctrl($scope) {
$scope.isArray = angular.isArray;
}