Demonstrations of Promise Chaining with AngularJS $q