add angular-resource to app.js