If you want to get started with AngularJS, either as a side project, an additional tool, or for your main work, this practical guide teaches you how to use this meta-framework step-by-step, from the basics to advanced concepts. By the end of the book, you’ll understand how to develop a large, maintainable, and performant application with AngularJS.
Guided by two engineers who worked on AngularJS at Google, you’ll learn the components needed to build data-driven applications, using declarative programming and the Model–view–controller pattern. You’ll also learn how to conduct unit tests on each part of your application.
- Learn how to use controllers for moving data to and from views
- Understand when to use AngularJS services instead of controllers
- Communicate with the server to store, fetch, and update data asynchronously
- Know when to use AngularJS filters for converting data and values to different formats
- Implement single-page applications, using ngRoute to select views and navigation
- Dive into basic and advanced directives for creating reusable components
- Write an end-to-end test on a live version of your entire application
- Use best practices, guidelines, and tools throughout the development cycle
About the Author
Shyam Seshadri is the owner / CEO of Fundoo Solutions (http://www.befundoo.com), where he splits his time between working on innovative and exciting new products for the Indian markets, and consulting about and running workshops on AngularJS. Prior to Fundoo Solutions, Shyam completed his MBA from the prestigious Indian School of Business in Hyderabad. Shyam's first job out of college was with Google, where he worked on multiple projects, including Google Feedback (AngularJS's first customer!), and various internal tools and projects. Shyam currently operates from his office in Navi Mumbai, India.
Brad Green works at Google as an engineering manager. In addition to the AngularJS project, Brad also directs Accessibility, and Support Engineering. Prior to Google, Brad worked on the early mobile web at AvantGo, founded and sold startups, and spent a few hard years toiling as a caterer. Brad's first job out of school was as lackey to Steve Jobs at NeXT Computer writing demo software and designing his slide presentations. Brad lives in Mountain View, CA with his wife and two children.
Most helpful customer reviews
8 of 8 people found the following review helpful.
Well written and clearly organized
By John G.
Bottom Line: I would absolutely recommend this book to anyone needing to learn AngularJS--especially for those who only have a limited understanding of Angular or for those who have gotten conflicting advice from the Web. This is a very well-written book and is organized in its presentation of the material. I purchased this book just a few days after it was released because I was under a deadline to write an AngularJS application for a company that had decided to go with Angular. Ordinarily, I would have waited until there were some reviews of the book before purchasing it, but it wasn't possible in this case, so I ordered it. And I'm very glad I did!
First, the book is concise (and that is a GOOD thing)! It is only 274 pages, so unlike some of the Phone Book volumes out there, it is possible to keep the book propped open while reading and coding. And because it IS concise, the examples are clearly explained without a lot of repetitious passages making the book needlessly longer. Each example was clearly explained…and then moved to the next logical topic.
Second, the authors are EXPERTS at Angular (they are from the Angular team, in fact). This gave me confidence that when they explained best practices (such as not using $scope everywhere, but instead use the "Controller as" syntax) --I could be confident that I was getting sound advice.
Third, the idea/thought flow worked well for me (as someone new to Angular), so it was especially important to get up to speed quickly. This book really helped me with that! And yes, there were a few places where I had to re-read a passage to "get it", but the overall flow of ideas was very accessible and the explanations clear and well written.
Bad Parts: not any to speak of--and quite honestly, I don't have any complaints about the book at all, but here are a few "observations" for those wanting to hear them. One area that I would have liked more explanation about was in using $scope vs "controller as" syntax…not because the subject is particularly difficult or confusing, but because nearly ALL examples out on the Web show the $scope way of doing things, so I would have like getting a bit more of "here's how to deal with those examples and convert them into this better paradigm." More on that wold have been helpful!
Also, I would have liked a bit more about using Angular services with async backend providers. It may be that this gets too much into the "weeds" of Promises and the like, but I ran into this right away when taking the principles from the book and trying to apply them in real life.
Overall, I can heartily recommend this book!
0 of 0 people found the following review helpful.
A great book on angular JS 1.X
I dont know why people are giving low stars to this.
I find this book right combination of code and explanation.
The author explains all the topics routing,directives etc in deep.
Like in the topic of routing, the author explains about resolves, authentication handling, using ui-router, and when to use ui router.
In the topic of directives, the author explains about how to create advanced directives such as a chart directive that will draw the chart from google charts.
I haven't checked the GitHub examples though.
But the code snippets given in the book are very good for the user to get started with the concept and clear all the confusion.
0 of 0 people found the following review helpful.
See all 21 customer reviews...
Good as a more in-depth follow on to the AngularJS tutorial.
It is best to work through the book chapter by chapter as you would a tutorial. I recommend first do the angular tutorial on the Angular js site, then this book. but be ready to refer to the current angularjs api reference to avoid instances of out of date code. I think it is almost impossible to create a book that is up to date at release, since the writing, editing and release cycle will always be behind the fast moving current state of software tools, especially web things. That said, I actually learned by correcting some of the issues that other reviews pointed out.