old_contents: // Globals
  var angular = angular;
  var nOrg = nOrg;
  angular.module('nOrg', ['ui.bootstrap', 'ui.keypress'])
  
    .controller('NOrgCtrl', function NOrgCtrl($scope, $http, $log) {
      $scope.controlName = 'NOrgCtrl';
  
      $scope.keydown = {
        'tab': 'node.toggle($event)',
        72: 'node.toggleHeaders($event)', // h
  
        'down': 'node.cursorDown($event)',
        'up': 'node.cursorUp($event)',
        'right': 'node.cursorRight($event)',
        'left': 'node.cursorLeft($event)'
      };
      $scope.keydown_aliases = {
        74: 'down',               // j
        75: 'up',                 // k
        87: 'up',                 // w
        83: 'down',               // s
        65: 'left',               // a
        68: 'right'               // d
      };
      for (var alias in $scope.keydown_aliases) {
        $scope.keydown[alias] = $scope.keydown[$scope.keydown_aliases[alias]];
      }
  
      $http.get('app/nodes.json').success(function loadNode(node) {
        // Load the initial nodes JSON
        $scope.node = nOrg.newRoot(node);
      });
    })
  
    .directive('norgCursor', function norgCursor() {
      return function (scope, element, attrs) {
        attrs.$observe('norgCursor', function (newValue) {
          if (newValue === 'true') {
            element[0].focus();
          }
        });
      };
    });
  
  //NOrgCtrl.$inject = ['$scope', '$http'];
  
new_contents: // Globals
  var angular = angular;
  var nOrg = nOrg;
  angular.module('nOrg', ['ui.bootstrap', 'ui.keypress'])
  
    .controller('NOrgCtrl', function NOrgCtrl($scope, $http, $log) {
      $scope.controlName = 'NOrgCtrl';
  
      $scope.keydown = {
        'tab': 'node.toggle($event)',
        '72': 'node.toggleHeaders($event)', // h
  
        'down 74 83': 'node.cursorDown($event)', // j, s
        'up 75 87': 'node.cursorUp($event)',     // k, w
        'right 68': 'node.cursorRight($event)',  // d
        'left 65': 'node.cursorLeft($event)',    // a
      };
  
      $http.get('app/nodes.json').success(function loadNode(node) {
        // Load the initial nodes JSON
        $scope.node = nOrg.newRoot(node);
      });
    })
  
    .directive('norgCursor', function norgCursor() {
      return function (scope, element, attrs) {
        attrs.$observe('norgCursor', function (newValue) {
          if (newValue === 'true') {
            element[0].focus();
          }
        });
      };
    });
  
  //NOrgCtrl.$inject = ['$scope', '$http'];
  
subject: Use angular-ui keypress handling for aliases