html-flash chat application using angularjs