changed angular request to at for server instead of localhost