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
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
€18.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (16 Ratings)
Paperback Sep 2020 430 pages 3rd Edition
eBook
€8.99 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Aristeidis Bampakos Profile Icon Pablo Deeleman
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.4 (16 Ratings)
Paperback Sep 2020 430 pages 3rd Edition
eBook
€8.99 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €26.99
Paperback
€33.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
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 : 9781839210662
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.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
€189.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
€264.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 131.97
Learning Angular
€33.99
Angular for Enterprise-Ready Web Applications
€59.99
Angular Projects
€37.99
Total 131.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

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.