Support data retrieval when using ngResource promises that return a object instead of a function.