docs(guide/understanding_model): improve example consistency

This commit is contained in:
Robb Shecter 2013-05-24 16:36:38 -06:00 committed by Pete Bacon Darwin
parent 40acd186bc
commit d3d7b9e3ed

View file

@ -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):