Meu ajax não funcionou..
o navegador retorna o seguinte: GET file:///home/josue/workspace/Alura/alurapic/public/%7B%7Bfoto.url%7D%7D net::ERR_FILE_NOT_FOUND
angular.min.js:87 XMLHttpRequest cannot load file:///v1/fotos. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.(anonymous function) @ angular.min.js:87n @ angular.min.js:82f @ angular.min.js:80(anonymous function) @ angular.min.js:112n.$eval @ angular.min.js:126n.$digest @ angular.min.js:123n.$apply @ angular.min.js:126(anonymous function) @ angular.min.js:17e @ angular.min.js:36d @ angular.min.js:17uc @ angular.min.js:18Jd @ angular.min.js:17(anonymous function) @ angular.min.js:250a @ angular.min.js:164c @ angular.min.js:32
fotos-controller.js:11 null
O que não entendo é que se eu chamar a url http://localhost:3000/v1/fotos direto no browser, o server responde o json normal.
Alguem pode me ajudar?