removes ngResource, not used