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
522 B

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