Angular.js - using angular.isArray() function

A simple Angular.js example of checking if a variable is an array.