how to get data from service to controller in angularjs