Skip to content

Commit 364fb5a

Browse files
Remove $ctrl from legacy example
1 parent ecad8ed commit 364fb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_guide/105.ng1-route-to-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ In `/partials/foo.html` template, the data and functions bound to the `$scope` a
7979
<button ng-click="clickHandler()">Do something</button>
8080

8181
<ul>
82-
<li ng-repeat="bar in $ctrl.foo.bars">
82+
<li ng-repeat="bar in foo.bars">
8383
<a ui-sref=".bar({ barId: bar.id })"
8484
ng-class="{ active: bar.active }">
8585
{{ bar.name }}

0 commit comments

Comments
 (0)