colorAdminApp.controller('pageWithTwoSidebarController', function ($scope, $rootScope, $state) { $rootScope.setting.layout.appSidebarTwo = true; });