Files
gocryptotrader/web/app/app.js
Scott e85876e273 Enhances configuration page
Adds Notification angular module
Adds Requestify for ExpressJS to make posting ezpz
Now can post data to gocryptoCore
GoCrypto can now receive data on settings save
2016-08-08 14:52:25 +10:00

27 lines
707 B
JavaScript

'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'ui-notification',
'myApp.home',
'myApp.about',
'myApp.settings',
'myApp.version'
]).
config(['$locationProvider', '$routeProvider' ,'NotificationProvider', function($locationProvider, $routeProvider, NotificationProvider) {
NotificationProvider.setOptions({
delay: 10000,
startTop: 60,
startRight: 10,
verticalSpacing: 10,
horizontalSpacing: 20,
positionX: 'right',
positionY: 'top'
});
$locationProvider.hashPrefix('!');
$routeProvider.otherwise({redirectTo: '/'});
}]);