Added angular-resource.js to index.html