Fixed angular and JSON by debugging with chrome and adding an 'Access-Control-Allow-Origin' header