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
9 of 10 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!
1 of 1 people found the following review helpful.
Great Introduction, better than the first book.
By Victor Alejandro
This is a great introduction to the framework. It gets you up to speed with Angular's most important concepts and ideas very quickly. By the second chapter you're working with modules, controllers and some of the built in angular directives. Chapter three is about unit testing, something that most other angular books leave out, which is a shame since Angular is not only built for productivity, it's built for ease of testing.Overall, a great book for people new to Angular.
1 of 1 people found the following review helpful.
See all 22 customer reviews...
Great for any Angular 1.x developer!
By Joseph Buczek
Great overview, it helped immensely when learning to use Angular 1.x for the first time.