Files
gocryptotrader/web/app/app.js
GloriousCode 5520b0115e Early buy-orders work
Will implement ui-grid for tables. Way better at handling data
2017-02-28 17:13:34 +11:00

31 lines
805 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',
'myApp.sell',
'myApp.enabledExchanges',
'myApp.buyOrders',
'myApp.stringUtils'
]).
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: '/' });
}]);