using angular to make api calls