# Any tutorials on using Angular 2 with Elasticsearch?

**URL:** <https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318>\
**Category:** Elasticsearch\
**Created:** [April 13, 2017, 3:10pm UTC](https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318 "2017-04-13T15:10:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![viztastic](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@viztastic](https://discuss.elastic.co/u/viztastic)\
**Post date:** [April 13, 2017, 3:10pm UTC](https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318/1 "2017-04-13T15:10:53Z")

</div>

Hi,

I'm specifically keen to learn about how to boostrap the elastic-js client inside of Angular 2 and implement auto-complete type functionality to give me a sense of how to pair elastic-js with Angular. I imagine there would be some great tips on how to leverage RxJS with elastic to deliver elegant search.

Have googled extensively and came up with nothing.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![Vespira](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vespira/32/17336_2.png) [@Vespira](https://discuss.elastic.co/u/Vespira)\
**Post date:** [April 13, 2017, 3:46pm UTC](https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318/2 "2017-04-13T15:46:38Z")

</div>

Hi,

I'm not a pro, but to my mind you don't specifically need a client API when you are developping with Angular 2.

Why you don't just build a Service which address your needs, and send HTTP queries to your ES ?

You have to specifically use an API, or to use the 9300 port to send your queries ?

---

<div class="post-metadata">

**Author:** ![viztastic](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@viztastic](https://discuss.elastic.co/u/viztastic)\
**Post date:** [April 13, 2017, 10:07pm UTC](https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318/3 "2017-04-13T22:07:44Z")

</div>

Agreed that's one way of doing it, but I would have thought that a client library could help with converting results into streams of data. Similar to the way you can oversee queries with GraphQL

---

<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:** [May 11, 2017, 10:20pm UTC](https://discuss.elastic.co/t/any-tutorials-on-using-angular-2-with-elasticsearch/82318/4 "2017-05-11T22:20:24Z")

</div>

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