working on example of POST/GET requests with angular