Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Learning Angular
Learning Angular

Learning Angular: A no-nonsense beginner's guide to building web applications with Angular 10 and TypeScript , Third Edition

Arrow left icon
Profile Icon Aristeidis Bampakos Profile Icon Pablo Deeleman
Arrow right icon
$9.99 $35.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (16 Ratings)
eBook Sep 2020 430 pages 3rd Edition
eBook
$9.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Aristeidis Bampakos Profile Icon Pablo Deeleman
Arrow right icon
$9.99 $35.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (16 Ratings)
eBook Sep 2020 430 pages 3rd Edition
eBook
$9.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$9.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learning Angular

Chapter 1: Building Your First Angular App

To better understand how to develop an Angular application, we need to learn some basic but essential things so that we can have a great experience on our journey with the Angular framework. One of the basic things that we should know is semantic versioning, which is the way that the Angular team has chosen to deal with changes between different versions of the framework. It will hopefully make it easier to find the right solutions to future app development challenges when you visit the official Angular documentation website (https://angular.io) or other sites (such as Stack Overflow) to search for solutions.

Another important but sometimes painful topic is that of project setup. It is a necessary evil that needs to be done at the beginning of a project, but getting this right early on can reduce a lot of friction as your application grows. Therefore, a large part of this chapter is dedicated to Angular CLI, a tool developed by the Angular team that provides scaffolding and automation tasks in an Angular app, demystifying the process and enabling you as a developer to save yourself from facing future frustrations and migraines. We will use the Angular CLI to create our first application from scratch, get a feel for the anatomy of an Angular application, and take a sneak peek at how Angular works under the hood.

Working with an Angular project without an Integrated Development Environment (IDE) can be painful. Our favorite code editor can provide us with an agile development workflow that includes TypeScript compilation at runtime, static type checking, and introspection, code completion, and visual assistance for debugging and building our app. We will highlight some popular code editors and take a bird's eye view of how each one of them can assist us when developing Angular applications.

To sum up, here are the main topics that we will explore in this chapter:

  • Semantic versioning, why it matters, and Angular's take on it
  • How to set up an Angular project using Angular CLI 10
  • How to use Angular CLI commands to accomplish certain tasks, such as building and serving an Angular app
  • How to create our first application and begin to understand the core concepts in Angular
  • The available tooling for Angular in popular IDEs

Technical requirements

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn the fundamentals of Angular to build web applications using TypeScript
  • Explore the basics of Angular development, from components and templates to forms and services
  • Discover best practices for building, packaging, and testing Angular applications

Description

Angular, loved by millions of web developers around the world, continues to be one of the top JavaScript frameworks thanks to its regular updates and new features that enable fast, cross-platform, and secure frontend web development. With Angular, you can achieve high performance using the latest web techniques and extensive integration with web tools and integrated development environments (IDEs). Updated to Angular 10, this third edition of the Learning Angular book covers new features and modern web development practices to address the current frontend web development landscape. If you are new to Angular, this book will give you a comprehensive introduction to help you get you up and running in no time. You'll learn how to develop apps by harnessing the power of the Angular command-line interface (CLI), write unit tests, style your apps by following the Material Design guidelines, and finally deploy them to a hosting provider. The book is especially useful for beginners to get to grips with the bare bones of the framework needed to start developing Angular apps. By the end of this book, you’ll not only be able to create Angular applications with TypeScript from scratch but also enhance your coding skills with best practices.

Who is this book for?

The Angular TypeScript book is for JavaScript and full-stack developers who want to enter the world of frontend development with Angular or migrate to the Angular framework to build professional web applications. Familiarity with web and programming concepts will assist with understanding the content covered in the book.

What you will learn

  • Use the Angular CLI to scaffold, build, and deploy a new Angular application
  • Build components, the basic building blocks of an Angular application
  • Discover techniques to make Angular components interact with each other
  • Understand the different types of templates supported by Angular
  • Create HTTP data services to access APIs and provide data to components
  • Enhance your application's UX with Angular Material
  • Apply best practices and coding conventions to your large-scale web development projects

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 07, 2020
Length: 430 pages
Edition : 3rd
Language : English
ISBN-13 : 9781839215575
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Sep 07, 2020
Length: 430 pages
Edition : 3rd
Language : English
ISBN-13 : 9781839215575
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 174.97
Learning Angular
$44.99
Angular for Enterprise-Ready Web Applications
$79.99
Angular Projects
$49.99
Total $ 174.97 Stars icon
Banner background image

Table of Contents

18 Chapters
Section 1: Getting Started with Angular Chevron down icon Chevron up icon
Chapter 1: Building Your First Angular App Chevron down icon Chevron up icon
Chapter 2: Introduction to TypeScript Chevron down icon Chevron up icon
Section 2: Components – the Basic Building Blocks of an Angular App Chevron down icon Chevron up icon
Chapter 3: Component Interaction and Inter-Communication Chevron down icon Chevron up icon
Chapter 4: Enhance Components with Pipes and Directives Chevron down icon Chevron up icon
Chapter 5: Structure an Angular App Chevron down icon Chevron up icon
Chapter 6: Enrich Components with Asynchronous Data Services Chevron down icon Chevron up icon
Section 3: User Experience and Testability Chevron down icon Chevron up icon
Chapter 7: Navigate through Components with Routing Chevron down icon Chevron up icon
Chapter 8: Orchestrating Validation Experiences in Forms Chevron down icon Chevron up icon
Chapter 9: Introduction to Angular Material Chevron down icon Chevron up icon
Chapter 10: Giving Motion to Components with Animations Chevron down icon Chevron up icon
Chapter 11: Unit test an Angular App Chevron down icon Chevron up icon
Section 4: Deployment and Practice Chevron down icon Chevron up icon
Chapter 12: Bringing an Angular App to Production Chevron down icon Chevron up icon
Chapter 13: Develop a Real-World Angular App Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4
(16 Ratings)
5 star 43.8%
4 star 12.5%
3 star 6.3%
2 star 12.5%
1 star 25%
Filter icon Filter
Top Reviews

Filter reviews by




Giorgi Jul 30, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good
Amazon Verified review Amazon
Samuel Stegall Oct 06, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Disclaimer: The publisher asked me to review this book, and gave me a copy to read through. As someone who uses Angular at my job frequently, the opinions on topics included are 100% my own.Overview:This book serves as a good introduction of both Angular and TypeScript. I started using these in January of 2019 and have learned much about these concepts since then. It utilizes some of the information in Angular's Tour of Heroes guide, which is quite useful on its own, but pairs well here.What I Like:The book illustrates concepts that are good to know when developing in Angular. Important features of Angular are discussed and built towards, specifically component input/output, observables, and building and deploying Angular apps to a production environment. Other significant concepts are discussed, including validation, component libraries, animation, and unit testing, which are great to be familiar with when working in a professional capacity.What I Dislike:I would have liked for the real world app in Chapter 13 to be something completely separate from the Tour of Heroes app idea, instead opting for something utilizing a public API to reflect consuming external data. However, this Tour of Heroes app presented at the end of the book is a nice alternative to the Todo App that most frontends opt to implement to demonstrate their functionality.What I Would Like To See:I would like to see a chapter moving forward that discusses some of the Angular 10-specific features, such as the new ng new --strict command, which can be used to optimize your Angular project in terms of runtime complexity and project size. I feel like this is well-warranted given that this book targets Angular 10.Final Thoughts:Overall, I wish I would have had a book like this starting out. In just 430 pages, I would have been able to get up to speed much faster in my first job where I used Angular. I feel like it hits the high points well, and provides you with enough to get started with production work. Once you finish this, you will have the tools you need to seek out that which this book doesn't cover (namely, other component libraries, optional packages, etc.), and should be ready to use Angular in your web workflow. As someone with professional experience with both Angular and React, I personally find myself preferring Angular overall for its well defined validation and unit testing by default, and would recommend this book to anyone getting started with the framework.
Amazon Verified review Amazon
abdosup Dec 07, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
i like it
Amazon Verified review Amazon
Tony Tu Dec 03, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Disclaimer:The publisher invited me to review this book and offered a review copy to me. Here, I promise to be 100% sincere in how I feel about this book both good and less so.Overview:This book is typically useful for any front-end or full stack software engineer who is completely new to the web development or has some JavaScript web development experiences but wishes to jump into the Angular world playing with the typescript.What I Really Enjoy:This book is super friendly to the new Angular learner and it will walk you through the important Angular component and concepts. The book illustrates the basic building blocks and structure of Angular application, and teaches you to create your first angular app from scratch and discuss how to bring a real application to production which is especially useful for the less experienced developers. It also helps you learn how to write the proper unit test for angular components, pipes, routes and services which is also a daily job for angular developers.What I Don't Like:Although Angular Ivy was officially introduced in Angular 9 and this book is targeting Angular 10. But big improvements like Ivy engine, it is still worth spending some pages to discuss, or at least give a brief introduction for this important new feature.There is no discussion about the e2e testing or an introduction to use protractor - the official end to end testing framework for angular apps. Protractor can help run e2e tests like a user in a real browser against your angular application which is very useful as test-driven practice.What I Would Like to See:I would like to see more discussions on recently introduced changes or improvements between Angular release, like Ivy compiler and runtime or the new flag for the strict mode . Angular framework has been through lots of design and technical changes since its beginning , it is easy to disorient the newcomers to the Angular ecosystem. So it's worth spending more ink on it.I also would like a new chapter to contribute to the end to end testing part and present how to setup and use the protractor framework.Overall, just like the subtitle ,this book has no-nonsense. Writing a good book for the beginners never be an easy job but this book is well done for it. It guides you on major angular development topics. I wish I had the same opportunity like the readers of this book when I jumped into the angular world two years ago, it could save me a lot of effort and become more productive in a short time.
Amazon Verified review Amazon
John Giannetti Apr 07, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very clear and to the point. I wish more technical books were written this way.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.