add angular-resource to inject resource module