If 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
Chapter 1Introducing AngularJS
Starting Out with AngularJS
Chapter 2Basic AngularJS Directives and Controllers
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.
The animal on the cover of AngularJS: Up and Running is a thornback cowfish (Lactoria fornasini). This fish of many names—thornback, thornback cow, backspine cowfish, shortspined cowfish, blue-spotted cowfish—is usually found on rocky reefs or sandy slopes in a tangle of sponge and weeds in the Western Indo-Pacific region. They feed primarily on worms and other invertebrates.These boxfish can grow up to 15 centimeters long and anywhere between 3 to 50 centimeters wide. Members of the boxfish family are recognizable by the hexagonal pattern on their skin. Their bodies are shaped like a boxy triangle from which their fins, tail, eyes, and mouth protrude, allowing them to swim with a rowing motion. As they age, their shapes change from more rounded to more square-shaped, and their brighter colors dim.The thornback cowfish protects itself by secreting cationic surfactants through their skin, a reaction triggered by stress. The toxins, usually secreted in the form of a mucus, dissolve into the environment and irritate fish in the surrounding area.Many of the animals on O’Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to animals.oreilly.com.The cover image is from Johnson’s Natural History. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag’s Ubuntu Mono.
It was quick to get started with this book because it didn't require you to set a whole lot of different things, you could just dive in. The problem with this was that there was no common goal to the chapters. They were very modular, and while this might seem like a good approach, it leaves you confused about how to really build a full-featured app with all Angular features intertwined. Instead, this was left until the end as a sort of guideline collection. That is much less helpful, if you ask me. While Angular is modular, its different features can't be used modularly and separated from each other for an app beyond a todo list!
The book could also have used some exercises, not just examples. In my eyes, if you don't type any code, but only read it and its explanations, you don't get a real feel for it. So I started out copying all the examples by hand, but this soon felt like an overly cumbersome task if I could just use the given example code, so I used that instead, played around a bit with each example, but ultimately felt like I hadn't truly gotten into coding a feature like this. Of course this could have been rectified by me coming up with my own coding exercises, but a book giving you specific examples and solutions that really make you /think/ about what you're doing, you'll learn the language/framework/etc. twice as good.
Overall, I would definitely recommend this book to newcomers, and intermediates who are looking to get some in-depth knowledge about specific parts of Angular. If you're looking to build a full-featured app, this book will give you a good foundation to start, but you'll often times have to look to other sources to really get a grip on building a full app.
Bottom Line Yes, I would recommend this to a friend
I've read a couple of books on Angular and watched a few tutorials but have felt still foggy about Angular (my fault probably). However, this book has made it gel for me. It's well written and straight forward progressing from declaring the base module through controllers, directives and filters. A whole chapter on testing each of these elements follows each stage while it's fresh in your mind.
This book clarified a lot for me.
Bottom Line Yes, I would recommend this to a friend