diff options
| author | Peter Bacon Darwin | 2014-03-07 19:57:39 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-07 20:05:58 +0000 | 
| commit | 853999de10b8fd0116f9da80af2c192a4a5fd39b (patch) | |
| tree | 3eb5e87ecd5f41152af996831d4e29ce08581359 /docs/app/assets | |
| parent | 53ec5e13e5955830b6751019eef232bd2125c0b6 (diff) | |
| download | angular.js-853999de10b8fd0116f9da80af2c192a4a5fd39b.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')
| -rw-r--r-- | docs/app/assets/Error404.html | 13 | 
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> | 
