# Angular 2 based Kibana Plugin

**URL:** <https://discuss.elastic.co/t/angular-2-based-kibana-plugin/71731>\
**Category:** Kibana\
**Created:** [January 16, 2017, 12:34pm UTC](https://discuss.elastic.co/t/angular-2-based-kibana-plugin/71731 "2017-01-16T12:34:00Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tarun\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tarun_kumar/32/65948_2.png) [@tarun\_kumar](https://discuss.elastic.co/u/tarun_kumar)\
**Post date:** [February 4, 2017, 6:50am UTC](https://discuss.elastic.co/t/angular-2-based-kibana-plugin/71731/7 "2017-02-04T06:50:44Z")

</div>

Yes @Kikketer  
Thanks for your reply. That's what we did as well.  
Currently, would you mind helping me further on my below queries as I need to workout below problems :-

> [@How to acess search bar query string in kibana custom plugin](https://discuss.elastic.co/t/how-to-acess-search-bar-query-string-in-kibana-custom-plugin/72864/2):
>
> Hi @tarun_kumar, About the search bar, may I ask why you are unable to simply use the filter bar itself? It is also capable of doing text searches. Providing two search/filter bars on the same page might be a confusing UX for the user. To extract the date range filter applied to the dashboard, look into using the [timefilter](https://github.com/elastic/kibana/blob/master/src/ui/public/timefilter/timefilter.js) Angular service provided by Kibana. Once injected, you can call its [getBounds](https://github.com/elastic/kibana/blob/master/src/ui/public/timefilter/timefilter.js#L96) method to get an object with min and max properties. You can see an example usage [here](https://github.com/elastic/kibana/blob/master/src/ui/public/courier/fetch/strategy/search.js#L25-L26).

> [@Gridster resize listener](https://discuss.elastic.co/t/gridster-resize-listener/73352/3):
>
> Thanks a lot @thomasneirynck. I am not able to use resize\_checker lib and it returns me a function as - var ResizeChecker = Private(require('ui/vislib/lib/resize\_checker')); console.log(ResizeChecker) prints me a function which contains verious functions. I am bit new to javascripting , so how do invoke function like read() from this ResizeChecker instance? I tried console.log(ResizeChecker.prototype.read()); which returns TypeError: Cannot read property '0' of undefined

---

_[View the full topic](https://discuss.elastic.co/t/angular-2-based-kibana-plugin/71731)._
