javascript - AngularJS pop-up chatbox - Stack Overflow

admin2025-04-22  0

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 ponent 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.

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 ponent 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.

Share Improve this question edited Jun 27, 2014 at 20:58 Dirk asked Jun 27, 2014 at 18:49 DirkDirk 6081 gold badge5 silver badges18 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 5

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/modules/ngDialog

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

http://weblogs.asp/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.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745304982a295483.html

最新回复(0)