This angular app consumes rest api's in java