Add REST service and angular code