Skip to content

Commit 7489d56

Browse files
committed
docs(ngAnimate): fix anchoring example
Example must be updated for the default ngRoute hash prefix. Closes angular#14312
1 parent cc1de81 commit 7489d56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ngAnimate/module.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@
546546
deps="angular-animate.js;angular-route.js"
547547
animations="true">
548548
<file name="index.html">
549-
<a href="#/">Home</a>
549+
<a href="#!/">Home</a>
550550
<hr />
551551
<div class="view-container">
552552
<div ng-view class="view"></div>
@@ -593,7 +593,7 @@
593593
<h2>Welcome to the home page</h1>
594594
<p>Please click on an element</p>
595595
<a class="record"
596-
ng-href="#/profile/{{ record.id }}"
596+
ng-href="#!/profile/{{ record.id }}"
597597
ng-animate-ref="{{ record.id }}"
598598
ng-repeat="record in records">
599599
{{ record.title }}

0 commit comments

Comments
 (0)