Edit how to verify json data with angularjs httpbackend