added autorefresh' changed services.js to make the controller get the actual json file