How to work with couchbase sync gateway and webhook (for realtime web App)?

I have a angular dashboard and nodejs server behind it.I use couchbase sync gateway for insert my documents. Now I want to have realtime map in my dashboard to show the docs which their docType==‘Location’ I don’t know how I can have new docs in my front app when new location was sent to my couchbase server. I read somthing about webhook but I don’t know How I should work with that.