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