docs(ngAnimate): fix anchoring example

Example must be updated for the default ngRoute hash prefix.

Closes #14312
This commit is contained in:
Martin Staffa
2016-03-24 11:34:31 +01:00
parent cc1de81f5e
commit 7489d56687
+2 -2
View File
@@ -546,7 +546,7 @@
deps="angular-animate.js;angular-route.js"
animations="true">
<file name="index.html">
<a href="#/">Home</a>
<a href="#!/">Home</a>
<hr />
<div class="view-container">
<div ng-view class="view"></div>
@@ -593,7 +593,7 @@
<h2>Welcome to the home page</h1>
<p>Please click on an element</p>
<a class="record"
ng-href="#/profile/{{ record.id }}"
ng-href="#!/profile/{{ record.id }}"
ng-animate-ref="{{ record.id }}"
ng-repeat="record in records">
{{ record.title }}