added angular and angular-resource to application.js