Barclays interview question

Something about resolvers (angular)