mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-29 22:37:48 +08:00
docs(guide): clarify example
This commit is contained in:
committed by
Pawel Kozlowski
parent
e6c9bfa4a9
commit
3364d69a3b
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user