Add rest service and call it from angular