Dropped dependency on restangular, replaced with $resource.