aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJared Forsyth2013-06-04 22:24:49 +0100
committerPete Bacon Darwin2013-06-04 22:25:38 +0100
commit03d867160ff8b54a265d7a4c84d7a0f6fc98b61a (patch)
treef90a5ceac9f712ff80dd4f8b8b5ff071f329c3ee /docs
parent9870e65c5fbf6d5a1e6558f0e275b9afa77783f0 (diff)
downloadangular.js-03d867160ff8b54a265d7a4c84d7a0f6fc98b61a.tar.bz2
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/dev_guide.services.injecting_controllers.ngdoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/guide/dev_guide.services.injecting_controllers.ngdoc b/docs/content/guide/dev_guide.services.injecting_controllers.ngdoc
index 2da7c248..2ddbec91 100644
--- a/docs/content/guide/dev_guide.services.injecting_controllers.ngdoc
+++ b/docs/content/guide/dev_guide.services.injecting_controllers.ngdoc
@@ -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>