bitcore-node-zcash/public/js/config.js

22 lines
416 B
JavaScript
Raw Normal View History

2014-01-06 12:34:25 -08:00
'use strict';
//Setting up route
angular.module('mystery').config(['$routeProvider',
2014-01-06 12:54:32 -08:00
function($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'views/index.html'
}).
otherwise({
redirectTo: '/'
});
}
2014-01-06 12:34:25 -08:00
]);
//Setting HTML5 Location Mode
angular.module('mystery').config(['$locationProvider',
2014-01-06 12:54:32 -08:00
function($locationProvider) {
$locationProvider.hashPrefix('!');
}
]);