2014-03-14 13:38:27 -07:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
//Setting up route
|
|
|
|
angular
|
|
|
|
.module('cosign')
|
2014-03-19 09:17:18 -07:00
|
|
|
.config(function($routeProvider) {
|
2014-03-18 09:22:20 -07:00
|
|
|
|
2014-03-19 09:17:18 -07:00
|
|
|
$routeProvider
|
|
|
|
.when('/signin', {
|
|
|
|
templateUrl: 'signin.html'
|
2014-03-18 09:22:20 -07:00
|
|
|
})
|
2014-03-19 09:17:18 -07:00
|
|
|
.when('/home', {
|
|
|
|
templateUrl: 'home.html'
|
2014-03-14 13:38:27 -07:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
//Setting HTML5 Location Mode
|
|
|
|
angular
|
2014-03-18 09:22:20 -07:00
|
|
|
.module('cosign')
|
2014-03-14 13:38:27 -07:00
|
|
|
.config(function($locationProvider) {
|
2014-03-19 09:17:18 -07:00
|
|
|
$locationProvider
|
|
|
|
.html5Mode(false);
|
|
|
|
//.hashPrefix('!');
|
2014-03-14 13:38:27 -07:00
|
|
|
});
|