Angular.js - using angular.isFunction() function

A simple Angular.js example of checking if a variable is a function using the AngularJS API.