Deferred/Promise for AngularJS 2.0