When comparing AngularJS - O'Reilly book vs AngularJS by Example, the Slant community recommends AngularJS - O'Reilly book for most people. In the question“What are the best resources to learn AngularJS?” AngularJS - O'Reilly book is ranked 3rd while AngularJS by Example is ranked 11th. The most important reason people chose AngularJS - O'Reilly book is:
You start out with key features, then through building an app learn layout, testing, compiling, and debugging.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Thorough overview of AngularJS
You start out with key features, then through building an app learn layout, testing, compiling, and debugging.
Pro Written by people who worked on AngularJS
It is written by two engineers who worked on AngularJS at Google.
Pro Anticipates and explains errors
The author anticipates many of the common errors you may encounter while working through the practice examples. He explains why they happen, and how to prevent them.
Pro Real world projects
The book incrementally develops more than one real world angular apps with detailed explanation of Angularjs concepts. Companion source code also works just fine with angular v 1.3
Cons
Con Many errors throughout the book
A lot of the code examples given in the book don't run because of errors. This can make it confusing and difficult to follow, especially for beginners.
Con "Handling Common Scenarios" chapter could be more in-depth
The chapter explains a few common scenarios and how to deal with them using best practices.
However it's a bit light for a fairly important chapter and only touches on things like authentication and authorization.