In Angular 4, functionalities, logic and code which are executed before the loading of a route is called Guards. Guards check the route access, child route access, new feature in a module and prompt the user of any unsaved changes.

BY Best Interview Question ON 20 Jan 2020