DPL interview question

how you do State management in angular