mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-17 15:09:59 +00:00
28 lines
723 B
JavaScript
28 lines
723 B
JavaScript
'use strict';
|
|
|
|
// Declare app level module which depends on views, and components
|
|
angular.module('myApp', [
|
|
'ngRoute',
|
|
'ui-notification',
|
|
'myApp.home',
|
|
'myApp.wallets',
|
|
'myApp.settings',
|
|
'myApp.version',
|
|
'myApp.buy'
|
|
]).
|
|
config(['$locationProvider', '$routeProvider' ,'NotificationProvider', function($locationProvider, $routeProvider, NotificationProvider) {
|
|
NotificationProvider.setOptions({
|
|
delay: 5000,
|
|
startTop: 60,
|
|
startRight: 10,
|
|
verticalSpacing: 10,
|
|
horizontalSpacing: 20,
|
|
positionX: 'right',
|
|
positionY: 'top'
|
|
});
|
|
|
|
$locationProvider.hashPrefix('!');
|
|
|
|
$routeProvider.otherwise({redirectTo: '/'});
|
|
}]);
|