Simple chat using SSE-chat-template in play framework and angularJs