Ruter API testing with Angular