get data using restangular and create home page