mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(guide): clarify example
This commit is contained in:
parent
e6c9bfa4a9
commit
3364d69a3b
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ myController.$inject = ['$scope','notify'];
|
|||
<p>Let's try this simple notify service, 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:scenario>
|
||||
|
|
|
|||
Loading…
Reference in a new issue