angularjs service uses promise to return data >fix