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.
This commit is contained in:
Jared Forsyth 2013-06-04 22:24:49 +01:00 committed by Pete Bacon Darwin
parent e1810c5cd3
commit 8400852f4e

View file

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