Guild Wars 2 API interaction with Angular JS