docs(ngAnimate): fix anchoring example
Example must be updated for the default ngRoute hash prefix. Closes #14312
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user