Example of request from angular to rest api.

Package name fixed.