Concept Flow - ngStyle for dynamic styles
Component Template
ngStyle Directive Reads Object
Angular Applies Styles Dynamically
Element Style Updates in DOM
User Sees Style Changes
Angular reads the ngStyle object in the template, applies the styles dynamically to the element, and updates the DOM so the user sees the style changes immediately.