Presentation regarding the use of promises in AngularJS