Adding back ngResource dependency that was missing