Is it the way to proceed? If I have a plugin called, let's say, test, I'd still have to add the controller to the Kibana module for it to work?
Or should I add the controller to my plugin's module? In that case, what imports should I do and where? Do I have to modify the uiExports in my plugin? adding the 'uses' part? add dependencies to the angular module definition?
Is there a sample plugin showing how to do this somewhere?
no you have some flexibility in how you develop and embed plugins. You don't have to use the angular controllers necessarily. I think we're running a little behind on the docs there, as Kibana has some new modules that will make embedding easier.
You do always need your plugins module though, that will bootstrap your plugin inside Kibana.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.