Resolve

Resolve

‘Resolve’ comes to our rescue when we want to fetch some data or check some condition before loading the view. Resolve is a list of tasks that should be done before the controller instantiates or the view is loaded.