Skip to content

Glossary: Angular Beyond the Basics

NgOptimizedImage

Also written: ngSrc

A directive that applies good image habits. Use `ngSrc` with required `width` and `height`, lazy loading by default, and `priority` for the top image.

Where the book teaches it