# Help with kibana directives

**URL:** <https://discuss.elastic.co/t/help-with-kibana-directives/142170>\
**Category:** Kibana\
**Created:** [July 30, 2018, 11:56am UTC](https://discuss.elastic.co/t/help-with-kibana-directives/142170 "2018-07-30T11:56:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![voix](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@voix](https://discuss.elastic.co/u/voix)\
**Post date:** [July 30, 2018, 11:56am UTC](https://discuss.elastic.co/t/help-with-kibana-directives/142170/1 "2018-07-30T11:56:56Z")

</div>

Hi there. I try to add directive filterBar from 'kibana' module to my plugin and nothing happens.  
[http://prntscr.com/kcr5vx](http://prntscr.com/kcr5vx) I added my directive to 'kibana' module for test and it rendering normally, but all directives, added outside my plugin dont work. [http://prntscr.com/kcr7m6](http://prntscr.com/kcr7m6) I expect. first two kibana directives should be available too. Can anyone help me with it? I can just copy/paste the directive i need, but it felt so bad practice.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 31, 2018, 4:50pm UTC](https://discuss.elastic.co/t/help-with-kibana-directives/142170/2 "2018-07-31T16:50:31Z")

</div>

Have you tried the [autoload imports](https://www.elastic.co/guide/en/kibana/current/development-modules.html)? If you use those all of the directives in core kibana should get loaded up into angular's context.

---

<div class="post-metadata">

**Author:** ![voix](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@voix](https://discuss.elastic.co/u/voix)\
**Post date:** [August 1, 2018, 6:15am UTC](https://discuss.elastic.co/t/help-with-kibana-directives/142170/3 "2018-08-01T06:15:57Z")

</div>

Thank you very much! Now it works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 29, 2018, 6:15am UTC](https://discuss.elastic.co/t/help-with-kibana-directives/142170/4 "2018-08-29T06:15:59Z")

</div>

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