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.

20 lines
546 B

  1. 'use strict';
  2. var urlapi = "http://localhost:3000/api/";
  3. //var urlapi = "http://192.168.1.36:3000/api/";
  4. //var urlapi = "http://51.255.193.106:3000/api/";
  5. // Declare app level module which depends on views, and components
  6. angular.module('adminApp', [
  7. 'ngRoute',
  8. 'ngMessages',
  9. 'angularBootstrapMaterial',
  10. 'app.main',
  11. 'app.user',
  12. 'app.travel'
  13. ]).
  14. config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
  15. $locationProvider.hashPrefix('!');
  16. $routeProvider.otherwise({redirectTo: '/main'});
  17. }]);