Testing Sf2 REST API and Angular JS