aboutsummaryrefslogtreecommitdiffstats
path: root/docs/app/assets/Error404.html
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-03-07 19:57:39 +0000
committerIgor Minar2014-03-11 10:39:47 -0700
commitebe280eedea416c84c2300c9b952bb42d73cdb53 (patch)
tree172256dea1e52e7383228059af45a430fd072bd5 /docs/app/assets/Error404.html
parent95d6cdc7c71454cebcab59858f0c3daa69fc9347 (diff)
downloadangular.js-ebe280eedea416c84c2300c9b952bb42d73cdb53.tar.bz2
docs(404 errors): provide a better 404 experience
It is a bit rough and ready but does a better job than nothing.
Diffstat (limited to 'docs/app/assets/Error404.html')
-rw-r--r--docs/app/assets/Error404.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/app/assets/Error404.html b/docs/app/assets/Error404.html
new file mode 100644
index 00000000..d9ba1d72
--- /dev/null
+++ b/docs/app/assets/Error404.html
@@ -0,0 +1,13 @@
+<h1>Welcome To AngularJS</h1>
+
+<p>The page you were looking for is not here. Perhaps you were looking for something else...</p>
+
+<div class="search-results-frame" ng-controller="Error404SearchCtrl">
+
+ <div ng-repeat="(key, value) in results" ng-show="value.length">
+ <h4>{{ key }}</h4>
+ <ul class="search-results">
+ <li ng-repeat="item in value"><a ng-href="{{ item.path }}">{{ item.name }}</a></li>
+ </ul>
+ </div>
+</div>