text: var app = angular.module("navimate", [
      'ui.router',
  ]);
  
  app.config(['$locationProvider', function ($locationProvider) {
      $locationProvider.hashPrefix('');
  }]);
  
  app.config(function ($stateProvider, $urlRouterProvider) {
  
      // Configure URL mapping for non existent URLs
      $urlRouterProvider.when('', '/')
  
      $stateProvider
        .state('home', {
            url: '/',
            templateUrl: '/views/home.html',
            controller: 'HomeCtrl'
        })
        .state('aboutus', {
            url: '/aboutus',
            templateUrl: '/views/aboutus.html',
            controller: 'AboutUsCtrl'
        })
        .state('legal', {
            url: '/legal',
            templateUrl: '/views/legal.html'
        })
  });
  