DPL Interview Question

how you do State management in angular