Handle Angular Promises & $resource. See #57
re-release 0.3.1