shyamseshadri / angularjs-up-and-running

All the source code for the AngularJS Up & Running Book for O'Reilly
MIT License
466 stars 438 forks source link

Issue with checkbox-example.html on page 63 Chapter 4: Forms, Inputs and Services #18

Closed jitendrakrtiwari closed 9 years ago

jitendrakrtiwari commented 9 years ago

Hi, I appreciate the work done on this book. Anyone can learn angularjs with the help of this book. I notice one small issue with checkbox example on page 63 Chapter 4: Forms, Inputs and Services. ng-true-value & ng-false-value should be enclosed with single quotes ("'YES'" and "'NO'")

Wrong : ng-true-value="YES" ng-true-value="NO"

Right: ng-true-value="'YES'" ng-true-value="'NO'"