Add fixes for cold reboot

This fixes the cold reboot issue with the following steps

- It applies the command to shut off the chassis.
- Then verify the chassis is off. It checks for every 5 seconds.
  During this time the spinner displays. A 5min timeout has been
  added.
- Once the chassis is off, it turns on the host.

fixes openbmc/openbmc#2795

Change-Id: I119a1c95e57c10ccee27be1512a1fc38cde307fa
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
diff --git a/app/index.js b/app/index.js
index 95d7fa3..11ddc29 100644
--- a/app/index.js
+++ b/app/index.js
@@ -39,6 +39,7 @@
 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'