Simple syntax to attach to AngularJS promise states