Example of undefined in Angular Toolbar Component