Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | 'use strict'; |
| 2 | |||
| 3 | MetronicApp.controller('DashboardController', function($rootScope, $scope, $http, $timeout) { |
||
| 4 | $scope.$on('$viewContentLoaded', function() { |
||
| 5 | // initialize core components |
||
| 6 | Metronic.initAjax(); |
||
| 7 | }); |
||
| 8 | |||
| 9 | // set sidebar closed and body solid layout mode |
||
| 10 | $rootScope.settings.layout.pageSidebarClosed = false; |
||
| 11 | }); |