// Make sure to include the `ui.router` module as a dependency
angular.module('uiRouterSample', [
  'uiRouterSample.login',
  'uiRouterSample.home',
  'uiRouterSample.console',
  'uiRouterSample.editor',
  'ui.router', 
  'ngAnimate'
])

.run(
  [          '$rootScope', '$state', '$stateParams',
    function ($rootScope,   $state,   $stateParams) {

    // It's very handy to add references to $state and $stateParams to the $rootScope
    // so that you can access them from any scope within your applications.
    
    alert("test alert");
    
    $rootScope.$state = $state;
    $rootScope.$stateParams = $stateParams;
    $rootScope.enableConfiguration = "disabled";
    $rootScope.usertype = "normal";
    }
  ]
)

.config(
  [          '$stateProvider', '$urlRouterProvider',
    function ($stateProvider,   $urlRouterProvider) {

      /////////////////////////////
      // Redirects and Otherwise //
      /////////////////////////////

      // Use $urlRouterProvider to configure any redirects (when) and invalid urls (otherwise).
      $urlRouterProvider

  
        // If the url is ever invalid, e.g. '/asdf', then redirect to '/' aka the home state
        .otherwise('/login');


      //////////////////////////
      // State Configurations //
      //////////////////////////

      // Use $stateProvider to configure your states.
      $stateProvider

        ///////////////////////
        // Alternate Outcome //
        //////////////////////

        .state('alternate', {
          url: '/alternate',
          templateUrl: 'app/alternate.html'
        })
    }
  ]
);

@@ -226,16 +226,29 @@
 Animate'
+,%0A  'ui.grid'
 %0A%5D)%0A%0A.ru
@@ -546,16 +546,18 @@
 st alert
+-1
 %22);%0A    

Update app.js