use $http service to provide data