From afeec834a8e6ee840d17e5f3d4de3b92defff8bf Mon Sep 17 00:00:00 2001 From: Mario Colque Date: Fri, 17 Jan 2014 15:25:26 -0300 Subject: [PATCH] added new template for 404 --- public/js/config.js | 2 +- public/views/404.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 public/views/404.html diff --git a/public/js/config.js b/public/js/config.js index 2d07439..65028fd 100755 --- a/public/js/config.js +++ b/public/js/config.js @@ -26,7 +26,7 @@ angular.module('insight').config(['$routeProvider', templateUrl: 'views/status.html' }). otherwise({ - redirectTo: '/' + templateUrl: 'views/404.html' }); } ]); diff --git a/public/views/404.html b/public/views/404.html new file mode 100644 index 0000000..f056178 --- /dev/null +++ b/public/views/404.html @@ -0,0 +1,5 @@ +
+

Ooops!

+

Page not found :(

+

Go to home

+