changing the angular-resourse.js to its minified version