Removing uneeded ngResource indirection.