vue - Code Along: Create a Chat App with Node.JS/Angular.JS/Socket.IO
Today Robo Rick went over how to create a Chat App with AngularJS, Socket.IO, and NodeJS.... This was live... all mistakes were real :) We also went over how to use $scope.$broadcast and the $rootScope You can get the source code for this over at https://github.com/techwarriorz/Chat-App
Commentaires
-
Hello,
At 20 minutes, $scope.$broadcast doesn't work because $broadcast, $emit and $on communicate only with immediate parent or child scopes. Scopes aren’t always child and parent. The simplest way to emulate parent and child scopes are to use Controllers. Each Controller creates new $scope -> You have to put your div into the other one :) -
Really enjoyed your video - great tutorial. But I couldn't find the chat-controller.js file in your github repository.
-
Hello, As a newbie to node, angular and sockets.io, I really appreciat you for this awesome tutorial,
I have two problems tho,
1. I haven't been able to get messages sent across pcs. It's as tho the server.js file works only on the pc running the files from which other systems are connected
2. Do i need a different kind of hosting plan from a normal one where you just upload the folder onto the server to get this application on a web server? If yes, please tell me how
I anticipate your response -
Glad you are still making these. Excited to see more!
-
Thank's for this helpful tutorial !
40Évaluation