Render dynamic components the simple way in Angular – ngComponentOutlet

Introduction In Angular, there are a few ways to render templates and components dynamically. There is ngTemplateOutlet that can render different instances of ng-template conditionally. When we use components, we can apply ngComponentOutlet to render the dynamic components the simple way or ViewContainerRef the complex way. In this…

Discover the Power of Real-Time Search wit RxJS and Angular standalone components

Discover the Power of Real-Time Search wit RxJS and Angular standalone components

Introduction This is day 6 of Wes Bos’s JavaScript 30 challenge where I create real-time search input box to filter out cities and states in the USA. This is a challenge for me because I had to rewrite the original real-time search using Angular and adopting the styles…