Angular.js - using angular.isUndefined() function

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