Adding functionility to the web page using Restangular