You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
775 B

angular.module('topologyManager', ['ngRoute','restangular','ui.bootstrap'])
.config(function($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true);
$routeProvider
.when('/', {
templateUrl: 'partials/index.html',
controller: 'IndexCtrl',
})
_.contains = _.includes;
})
.factory('VIRLRestangular', function(Restangular) {
return Restangular.withConfig(function(RestangularConfigurer) {
RestangularConfigurer.setBaseUrl('http://192.168.76.210:19399');
RestangularConfigurer.setFullResponse(true);
});
})
.factory('CustomSimRestangular', function(Restangular) {
return Restangular.withConfig(function(RestangularConfigurer) {
RestangularConfigurer.setBaseUrl('/virl-scheduler/api/');
});
})