Define factories
add angular-resource.js
correct line setting latitude