use ngResource to get data via api