Mastering Angular

Retired

This book is no longer available for sale.

Mastering Angular

Easily Create and Develop Angular Applications

About the Book

In this book you will find everything you need to start working with Angular. You may have heard phrases like "Yes, Angular is great but it's really hard to understand", or, "I can not wait that many months to start being productive". But let me tell you that if you start working with the book, you will find that Angular is not only easy to learn, but fun.

  • What is semantic functioning and how does it work?
  • How to divide the logic of an application into components
  • What services are and how to build them
  • How to communicate with an API
  • How to release the power of the Observables to solve asynchronous programming problems without causing migraines
  • How to include Bootstrap so that your application looks great on different devices

These are just some of the things I want to present to you, along with many others that will be added with each update of the book.

As you progress through the different concepts, you will discover more details and be able to assimilate more aspects of this fantastic tool.

My proposal, is that this book continues to grow to grant you always something new and useful.

Let's start!

Educative.io has created an interactive course based on this book. You can write and run your code in your browser. Register here:

https://www.educative.io/courses/develop-angular-applications-auth0-mongodb

About the Author

Victor Hugo Garcia
Victor Hugo Garcia

More than ten years as a fullstack developer, using different frameworks such as Laravel, Yii, Zend, Cake, Angular, React and Vue. Master's Degree in Computer Science.

He loves teaching, reading and writing technical and fantasy books.

Table of Contents

  • Chapter 01: Introduction
    • About Angular
    • Angular 2, 3, 4, …?
    • Semantic versioning
    • Frequency of releases
    • Installations needed
    • Errors
    • Contact information
    • Summary
  • Chapter 02: Introduction to TypeScript and ES6
    • let and const
    • Data types
    • Template strings
    • Functions
    • Interfaces
    • Classes
    • Promises
    • Decorators
    • Questions and answers
    • Summary
  • Chapter 03: First application: RestApp
    • Creating a new project
    • app.module.ts
    • What we will be building
    • Bootstrap 4
    • Components of our application.
    • NavBar component
    • Routing
    • Services
    • An interface for users
    • API
    • Recap
  • Chapter 04: RestApp, part two
    • Bootstrap
    • AboutComponent
    • Forms: ContactComponent
    • Error handling
    • Update a user
    • Adding a new user
    • Delete a user
    • Loading
    • Pipes
    • Recap
  • Chapter 05: AuthApp
    • Auth0
    • Creating an Account
    • Our new App
    • AuthService
    • NavbarComponent
    • Routing
    • Auth0 Settings
    • Local Storage
    • AuthGuard
    • Getting the user’s profile
    • Summary
  • Chapter 06: Blog App Part I
    • MongoDB
    • What we will be doing
    • Start of the project
    • Installing bootstrap
    • Login Component
    • Routes of the application
    • User Model
    • Login Service
    • Adding the logic of the form
    • Application Code
  • Chapter 07 Blog App Part II
    • NodeJS
    • Express
    • MongoDB
    • Mongoose
    • Starting the project on the server
    • Creating the database
    • Home Component
    • AuthService, saving the user in the session
    • Source Code
  • Chapter 08: Blog App Part III Showing posts
    • Modifying the user class
    • Post Component
    • Creating the Post collection
    • Post Service
    • Post Component
    • Backend Source Code
    • Frontend Source Code
    • Summary
  • Chapter 09: Blog App Part IV Filtering posts
    • Dashboard Component
    • Post Component
    • Filtering posts
    • Sharpening details
    • Backend Source Code
    • Frontend Source Code
    • Summary
  • Chapter 10: Blog App Part V Adding posts
    • createPost method
    • Post Model
    • Observables
    • Backend Source Code
    • Frontend Source Code
    • Summary
  • Chapter 11: Blog App Part VI Editing posts
    • Frontend Post model
    • Common Service
    • Post Component
    • Dashboard Component
    • AddPost Component
    • AddPost Service
    • updatePost
    • Backend Source Code
    • Frontend Source Code
    • Summary
  • Chapter 12: Blog App Part VII Deleting posts
    • Common Service
    • Dashboard Component
    • Post Component
    • index.js
    • Frontend Source Code
    • Backend Source Code
    • Summary
  • Chapter 13: Testing
    • Jasmine
    • Karma
    • Testing a Pipe
    • Testing a service
    • Summary
  • Appendix: Upgrading Angular
    • Requirements
    • Upgrading angular-cli
    • Upgrading apps

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