Testing GET POST methods in Angular by calling a web service