mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(guide/understanding_model): improve example consistency
This commit is contained in:
parent
73fd3ca2eb
commit
722766958b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ occurs in controllers:
|
|||
|
||||
* Use an {@link expression angular expression} with an assignment operator in templates:
|
||||
|
||||
<button ng-click="{{foo='ball'}}">Click me</button>
|
||||
<button ng-click="{{foo='bar'}}">Click me</button>
|
||||
|
||||
* Use {@link api/ng.directive:ngInit ngInit directive} in templates (for toy/example apps
|
||||
only, not recommended for real applications):
|
||||
|
|
|
|||
Loading…
Reference in a new issue