简体   繁体   中英

AngularJS pop-up chatbox

I've been writing the back-end of a web-application using angularJS. The application should allow a user to contact another user via a pop-up chat box (the type in gmail/fbook). I've been trying to skip using jquery and write this component in angularJS using angular-bootstrap modals, but the user also needs to be able to navigate around the page while the chatbox is open.

I know StackOverflow prefers more direct answerable questions but I haven't found much around the web about writing this in angularJS and I was wondering whether anyone knew how to write a pop-up chatbox using angularJS, HTML, and CSS.

This is one of the AngularJS's weaknesses. There are different ways of doing it but nothing that is the "standard" way. You have to basically code it from scratch.

People have implemented different approaches. Here are a few

http://ngmodules.org/modules/ngDialog

http://fundoo-solutions.github.io/angularjs-modal-service/

http://weblogs.asp.net/dwahlin/building-an-angularjs-modal-service

For my own projects I ended up doing something myself. If none of these do the trick, then you might have to as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM