attempts to get the api without Restangular. No fun. Restangular from
now on.