Example for API in Angular Menu Bar Component