angular.module('uiRouterSample.home', [
  'ui.router'
])
  
.config(
  [          '$stateProvider', '$urlRouterProvider',
    function ($stateProvider,   $urlRouterProvider) {
    
      $stateProvider
      
        /////////////////
        // Home Screen //
        /////////////////

        .state('home', {
          url: '/home',
          views: {

            '': {
              templateUrl: 'app/home/home.html',
              controller: ['$scope', '$state',
                function (  $scope,   $state) {
                
                  alert("in home controller");
                  
                  $scope.executeHomeFunctionality = function () {
                    // Execute Home Functionality
                  };
                }]
            },

            'navigation-bar@': {
              templateUrl: 'app/navbar/console-navbar.html'
            }
          }
        })
        .state('logout2', {
        url: 'logout2',
        });
    }
  ]
);

@@ -512,33 +512,16 @@
 tate) %7B%0A
-                %0A
         
@@ -563,164 +563,8 @@
 %22);%0A
-                  %0A                  $scope.executeHomeFunctionality = function () %7B%0A                    // Execute Home Functionality%0A                  %7D;%0A
     
@@ -724,24 +724,24 @@
      %7D)%0A
+
         
 .state('
@@ -736,62 +736,8 @@
     
-.state('logout2', %7B%0A        url: 'logout2',%0A        %7D)
 ;%0A  

Update home.js