Ok. However refer this readmande guide on chat. view+ firebase component
You will get an idea and It may solve your problem