Search box disappears when loading plugin using angular-material

Developed a simple visualization plugin using angular-material, I noticed that when I move between apps, for example from Discover to Dev Tools and back, the search box disappears (see below image). Refreshing the Discover brings the Search box back.
In order to be sure that no damage is done in my logic, I created an empty plugin which does nothing but requiring dependency on material on the controller. Nothing more. Just with it the above problem happens.

import 'angular-aria';
import 'angular-animate';
import 'angular-material';
import 'angular-messages';
import 'angular-material/angular-material.css';

uiModules.get('kibana/my_plugin', ['ngMaterial', 'ngAnimate']).controller('myController', function ($scope) {

I am using Kibana 5.4 or 5.5, material 1.1.1 and animate, aria and messages 1.4.7.
Many thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.