Pregunta de entrevista de Walmart

How to manage state in an angular application?