restangular configuration moved to main module