Angular.js - using angular.extend() function

A simple Angular.js example of extending one object with the contents of another object