SHARE
TWEET

Untitled

a guest Dec 15th, 2014 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $stateProvider.
  2.                 // Main Layout Structure
  3.                 state('app', {
  4.                         abstract: true,
  5.                         url: '/app',
  6.                         templateUrl: appHelper.templatePath('layout/app-body'),
  7.                         controller: function($rootScope){
  8.                                 $rootScope.isLoginPage        = false;
  9.                                 $rootScope.isLightLoginPage   = false;
  10.                                 $rootScope.isLockscreenPage   = false;
  11.                                 $rootScope.isMainPage         = true;
  12.                         },
  13.             resolve: {
  14.                 currentUser: function(Authentication) {
  15.                     return Authentication.userData();
  16.                 }
  17.             }
  18.         }).
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top