text: 'use strict';
  
  angular.module('bahmni.common.routeErrorHandler', ['ui.router'])
      .run(['$rootScope', function ($rootScope) {
          $rootScope.$on('$stateChangeError', function (event) {
              event.preventDefault();
          });
      }]);
  