SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

docs(input[checkbox]): update example to use ngModel best practices

It's not required for the example to function, but it prevents scope weirdness/unexpected
behavior when using directives (especially with ngTransclude!). I think it's a good pattern
to encourage and might prevent a bug down the road for for people who just scan for the
monospace font. See
[Understanding Scopes](https://github.com/angular/angular.js/wiki/Understanding-Scopes)
for mgModel best practices.

Closes #10851
M
Mark Hoffmeyer committed
e13224b2dff2cbaeee5cc5845d81b37d4a4839c1
Parent: 36a14e6
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 1/24/2015, 10:40:54 PM