DownGit / app.js
shethjenil's picture
Upload 18 files
33e6429 verified
raw
history blame contribute delete
582 Bytes
var siteHeaderText = {};
var downGit = angular.module('downGit', [
'ngRoute',
'homeModule',
'toastr',
]);
downGit.config([
'$routeProvider',
function($routeProvider) {
$routeProvider
.when('/', {
redirectTo: '/home',
})
.otherwise({
redirectTo: '/home',
});
}
]);
downGit.config([
'toastrConfig',
function(toastrConfig) {
angular.extend(toastrConfig, {
positionClass: 'toast-bottom-right',
maxOpened: 3,
});
}
]);