add ngResource to fetching api data