Let's just upgrade AngularJS since the new version of ```ngResource``` has a ```$promise()``` method.