aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.services.injecting_controllers.ngdoc
diff options
context:
space:
mode:
authorJared Forsyth2013-06-04 22:24:49 +0100
committerPete Bacon Darwin2013-06-04 22:25:10 +0100
commit8400852f4e9ed54bda55bafff7c1ff193c86190e (patch)
tree6e3af0cab3c081f7fe62a7fec788e12eca029c23 /docs/content/guide/dev_guide.services.injecting_controllers.ngdoc
parente1810c5cd3520338f7cf77cbb913be675d636cab (diff)
downloadangular.js-8400852f4e9ed54bda55bafff7c1ff193c86190e.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/content/guide/dev_guide.services.injecting_controllers.ngdoc')
-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>