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
552 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://routes.fair.coop:3000/api/";
  5. // Declare app level module which depends on views, and components
  6. angular.module('app', [
  7. 'ngRoute',
  8. 'ngMessages',
  9. 'angularBootstrapMaterial',
  10. 'app.navbar',
  11. 'app.travels',
  12. 'app.travel'
  13. ]).
  14. config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
  15. $locationProvider.hashPrefix('!');
  16. $routeProvider.otherwise({redirectTo: '/travels'});
  17. }]);