Created
July 8, 2018 18:53
-
-
Save tperrelli/255011a2b71e75c7a1df898ac21c4ea0 to your computer and use it in GitHub Desktop.
Loading route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/*================================================ | |
Module - Main app module | |
================================================ */ | |
angular.module('MedicareApp', ['ngRoute', 'MedicareApp.controllers', 'MedicareApp.services']) | |
.config(function($routeProvider, $locationProvider) { | |
$routeProvider | |
.when('/', { | |
templateUrl : 'views/scheduling.html', | |
controller : 'SchedulingController', | |
reloadOnSearch : false, | |
resolve : { | |
loginRequired : false | |
} | |
}) | |
.otherwise({ | |
redirectTo: '/' | |
}); | |
$locationProvider.html5Mode({ | |
enabled: true, | |
requireBase: false | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment