The Angular Tutorial
$59.99
Minimum price
$59.99
Suggested price

The Angular Tutorial

Learn Front-End Development and Automated Testing with Angular

About the Book

Learning a front-end framework is hard. "Getting started" tutorials cover the basics but you leave thinking, "Okay, now how do I build something with this?" The truth is, getting started tutorials aren't all that great for beginners. They're demos to highlight as many features as quickly as possible. They're great for showing off what a framework can do. They aren't so great for teaching you how to build web apps. The end result is a basic application that doesn't mimic what it's like building real applications as a front-end developer.

You'll work with a mocked API and database. Application architecture isn't covered. Automated testing is skipped altogether.Trust me, I've been there. But those days are over.

With The Angular Tutorial, you'll learn how to build applications using a real API and database. You'll leverage 3rd party APIs like Zomato, Google Places, and open-source libraries just as you would in a real job.The Angular Tutorial assumes you have no previous knowledge of the Angular framework. It starts at the very beginning.Every piece of code is explained and tested to make you interview ready.

You'll begin with an introduction to how web applications work followed by an introduction to Angular to give you a good grasp on the basics.

Then you'll learn how to setup a real database and API just as I've done at numerous companies ranging from venture capital, startups, Fortune 500 companies, and digital agencies working with companies like CNN, Turner Broadcasting System, NBC, Mazda, AutoTrader and The Home Depot.

After that is a deeper dive into Angular where you'll build a real application with features like a signup page, a login page, a dashboard for authenticated users, and a calendar displaying lunch dates which you can show off on your resume or to your friends.

You'll deploy this application to the web using Heroku so the proof of your work will be accessible to anyone.

✅ Forms - Template-driven forms or reactive forms? Don't worry, both are covered.

✅ E2E Testing - Fast and easy end-to-end testing of your application with Cypress.

✅ Unit Testing - Unit test your code with Karma and Jasmine.

✅ Services - Communicate with a backend using Angular's HttpClient and write your own interceptors.

✅ Authentication - Secure your application with JSON Web Tokens (JWT).

✅ Authorization - Learn to restrict sections of your application to authorized users.

✅ Module Architecture - Create dumb components, feature modules, and learn to break down an application into smaller parts.

✅ OSS Integration - Why re-invent the wheel? Learn to use open-source libraries to your advantage just as you would on the job.

✅ API Documentation - Learn how to read API documentation so you have the confidence going forward to work with any API.

✅ Deployment - Get your application onto the web. Learn how to build and deploy your Angular application to Heroku.

About the Author

Adam Morgan
Adam Morgan

Adam Morgan is the creator of The Angular Tutorial. His prior experience includes web development at a variety of companies ranging from Fortune 500 companies to startups and digital agencies. Across these companies he’s filled various roles ranging from full-stack development to UI design and UX research. Adam has also written tutorials for Scotch.io covering automated testing with the AngularJS framework.

Reader Testimonials

Matthew Knowles
Matthew Knowles

At my job we not only have to write the code for the feature that the product owners want but also write up the tests that will automatically verify that we did it correctly. This book has been the best resource (online class, training, book) that I have taken for developing Angular apps in a professional environment. Every chapter of the book shows you not only how to use a specific part of Angular but also how to automatically verify with a combination of end to end, integration and unit tests

Amazon Review
Amazon Review

Far beyond testing, the book provides valuable information and practical guidance for mastering fundamental challenges in developing applications with Angular. In an entertaining way, the technical relationships are thoroughly explained and clearly presented. On request, the author provides the content as PDF for the printed edition.

Kaeside Iwuagwu
Kaeside Iwuagwu

Adam has a knack for breaking down complex topics while using relatable topics and keeps learning Angular fun. Not only do you learn Angular, but you learn important web concepts while learning the framework.

Levi Robertson
Levi Robertson

I could write a book on just the benefits I have gotten from The Angular Tutorial. If you are trying to learn JavaScript, how to architect an app, how to test, or Angular, then this book is a must have.

Gunther Thielemann
Gunther Thielemann

The material is well prepared and clearly explained...your book met my expectations exactly.

Table of Contents

  • Book Methodology
  • How Web Applications Work
  • Getting Started and Installation
  • API Setup and Installation
  • Introduction to Angular
  • How Angular Works
  • Home Page and an Introduction to Routing
  • Introduction to Testing
  • User Signup
  • User Dashboard
  • Route Guard (AuthGuard)
  • Navbar
  • User Login
  • Event Create and HTTP Interceptor
  • Dashboard Calendar
  • Event View
  • Event Comments
  • Events List
  • Event Subscribe/Unsubscribe
  • Event Recommendations
  • Event Update
  • Route Guard (EventGuard)
  • Deploy to Heroku
  • Appendix: Going Forward
  • Appendix: Practice

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub