examples on how to do simple requests in angular