Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8400852

Browse files
jaredlypetebacondarwin
authored andcommitted
docs(guide/injecting_controllers): add a hint in example
Add a hint to tell the user that they need to click 3 times before an alert is shown.
1 parent e1810c5 commit 8400852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/guide/dev_guide.services.injecting_controllers.ngdoc

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function myController($scope, notify) {
9898
<p>Let's try the notify service, that is implicitly injected into the controller...</p>
9999
<input ng-init="message='test'" ng-model="message">
100100
<button ng-click="callNotify(message);">NOTIFY</button>
101+
<p>(you have to click 3 times to see an alert)</p>
101102
</div>
102103
</doc:source>
103104
</doc:example>

0 commit comments

Comments
 (0)