Added REST functionalities using AngularJS.