copay/public/js/config.js

25 lines
500 B
JavaScript
Raw Normal View History

2014-03-14 13:38:27 -07:00
'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('!');
});