Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Angular Projects
  • Table Of Contents Toc
Angular Projects

Angular Projects - Fourth Edition

By : Aristeidis Bampakos
close
close
Angular Projects

Angular Projects

By: Aristeidis Bampakos

Overview of this book

Angular has evolved toward faster delivery, server rendering, and an enhanced developer experience. This book shows what that looks like in practice. Each project reflects how real teams work: forms, routing, data, and the small choices that make an app feel finished. You will build with just enough tech to matter: signals, template-driven and reactive forms; PrimeNG, Angular Material, and Telerik UI; Google Maps; drag-and-drop; and desktop features. You will also wire up backend NestJS with MongoDB, Firebase services, and email notifications, then improve delivery with SSR and SSG and focused Core Web Vitals improvements. Guided by Aristeidis Bampakos, a Google Developer Expert for Angular and an experienced team lead, you will learn practical patterns you can apply right from the get-go. By the end, you will not just “know” Angular. You will think like a front-end engineer who can deliver, portfolio in hand, job-ready and confident to level up in your current role.
Table of Contents (14 chapters)
close
close
12
Other Books You May Enjoy
13
Index

Scanning items

We need a camera to scan a QR code and read its contents. Web browsers can interact with a camera device using JavaScript native APIs. The Media Streams API provides suitable methods for working with streamed video data, such as a live camera feed. However, it does not support QR codes out of the box.

In this chapter, we will use the ngx‑scanner‑qrcode Angular library that provides a convenient way to open the camera and read the value from a QR code. The library is an Angular wrapper for native APIs that eliminates much of the boilerplate required to interact with the camera.

We will create a component that will be responsible for scanning items and adding them to a picking list:

  1. Run the following command to generate the component:
    ng generate component picking
  2. Open the app.routes.ts file and add the following import statement:
    import { Picking } from './picking/picking';
  3. Add the following route configuration object before the product detail route...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Angular Projects
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon