diff options
| author | Jared Forsyth | 2013-06-04 22:24:49 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-06-04 22:25:38 +0100 |
| commit | 03d867160ff8b54a265d7a4c84d7a0f6fc98b61a (patch) | |
| tree | f90a5ceac9f712ff80dd4f8b8b5ff071f329c3ee /docs | |
| parent | 9870e65c5fbf6d5a1e6558f0e275b9afa77783f0 (diff) | |
| download | angular.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.ngdoc | 1 |
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> |
