mirror of https://github.com/BTCPrivate/copay.git
25 lines
500 B
JavaScript
25 lines
500 B
JavaScript
|
'use strict';
|
||
|
|
||
|
//Setting up route
|
||
|
angular
|
||
|
.module('cosign')
|
||
|
.config(function($routeProvider) {
|
||
|
$routeProvider.
|
||
|
when('signin', {
|
||
|
templateUrl: '/views/signin.html',
|
||
|
title: 'Signin'
|
||
|
})
|
||
|
.otherwise({
|
||
|
templateUrl: '/views/404.html',
|
||
|
title: 'Error'
|
||
|
});
|
||
|
});
|
||
|
|
||
|
//Setting HTML5 Location Mode
|
||
|
angular
|
||
|
.module('insight')
|
||
|
.config(function($locationProvider) {
|
||
|
$locationProvider.html5Mode(true);
|
||
|
$locationProvider.hashPrefix('!');
|
||
|
});
|