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