Create angular-resource.js