Remove unused errors.html

Also removed errorModalDetails and displayErrorModal from
dataService since they are no longer used.

errors.html was only active when displayErrorModal was true.
displayErrorModal was only true when activateErrorModal was
called.

activateErrorModal was removed in a previous
commit. activateErrorModal's only use was removed here:
https://github.com/openbmc/phosphor-webui/commit/a38a287ccaa97eddc9df7333e33357b14772d4c6#diff-65affd2488457363c5b9e9266258c3b8

Tested: Searched the repo. Built an image and loaded onto a
        Witherspoon. No regressions observed.

Change-Id: I96e26dd3817d7b02bbce74b4cc093b75dab669ed
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/directives/errors.html b/app/common/directives/errors.html
deleted file mode 100644
index 49ed449..0000000
--- a/app/common/directives/errors.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!-- Unexpected error -->
-<section class="modal" aria-hidden="true" aria-labelledby="modalTitle" aria-describedby="modalDescription" role="dialog" ng-class="{'active': dataService.displayErrorModal}">
-    <div class="modal__upload-fail" role="document">
-        <div class="screen-reader-offscreen modal-description">{{dataService.errorModalDetails.title}}</div><!-- accessibility only; used for screen readers -->
-        <div class="page-header ">
-            <span class="icon icon__warning inline"><span class="accessible-text" role="alert">{{dataService.errorModalDetails.title}}</span></span>
-            <h3 class="modal-title inline">{{dataService.errorModalDetails.title}}</h3>
-        </div>
-        <div class="modal__content">
-            <p>{{dataService.errorModalDetails.description}}</p>
-        </div>
-        <div class="modal__button-wrapper">
-            <button class="inline btn-primary" ng-click="dataService.deactivateErrorModal()">Close</button>
-        </div>
-    </div>
-</section>
-<div class="modal-overlay" tabindex="-1" ng-class="{'active': dataService.displayErrorModal}"></div>
diff --git a/app/common/directives/errors.js b/app/common/directives/errors.js
deleted file mode 100644
index 5bd1e52..0000000
--- a/app/common/directives/errors.js
+++ /dev/null
@@ -1,20 +0,0 @@
-window.angular && (function(angular) {
-  'use strict';
-
-  angular.module('app.common.directives').directive('errors', [
-    'APIUtils',
-    function(APIUtils) {
-      return {
-        'restrict': 'E',
-        'template': require('./errors.html'),
-        'scope': {'path': '='},
-        'controller': [
-          '$scope', 'dataService',
-          function($scope, dataService) {
-            $scope.dataService = dataService;
-          }
-        ]
-      };
-    }
-  ]);
-})(window.angular);
diff --git a/app/common/services/dataService.js b/app/common/services/dataService.js
index 275d2f9..87fddba 100644
--- a/app/common/services/dataService.js
+++ b/app/common/services/dataService.js
@@ -28,9 +28,6 @@
       this.mac_address = '';
       this.defaultgateway = '';
 
-      this.displayErrorModal = false;
-      this.errorModalDetails = {};
-
       this.ignoreHttpError = false;
       this.systemName = '';
 
diff --git a/app/index.html b/app/index.html
index 96f66c1..ab2b35b 100644
--- a/app/index.html
+++ b/app/index.html
@@ -17,7 +17,5 @@
 
     <main ng-view ng-class="{'content__container': dataService.showNavigation, 'login__wrapper': !dataService.showNavigation}">
     </main>
-
-    <errors></errors>
 </body>
 </html>
diff --git a/app/index.js b/app/index.js
index 3fbf64f..6303142 100644
--- a/app/index.js
+++ b/app/index.js
@@ -40,7 +40,6 @@
 import filters_index from './common/filters/index.js';
 
 import directives_index from './common/directives/index.js';
-import errors from './common/directives/errors.js';
 import app_header from './common/directives/app-header.js';
 import app_navigation from './common/directives/app-navigation.js';
 import confirm from './common/directives/confirm.js';