mirror of https://github.com/akveo/blur-admin
24 lines
417 B
JavaScript
24 lines
417 B
JavaScript
'use strict';
|
|
|
|
angular.module('BlurAdmin', [
|
|
'ngAnimate',
|
|
'ui.bootstrap',
|
|
'ui.sortable',
|
|
'ui.router',
|
|
'ngTouch',
|
|
'toastr',
|
|
'smart-table',
|
|
"xeditable",
|
|
'ui.slimscroll',
|
|
'ngJsTree',
|
|
'angular-progress-button-styles',
|
|
|
|
'BlurAdmin.theme',
|
|
'BlurAdmin.pages'
|
|
]).run(scrollTop);
|
|
|
|
function scrollTop($rootScope) {
|
|
$rootScope.$on('$stateChangeSuccess', function(){
|
|
window.scrollTo(0, 0);
|
|
});
|
|
} |