For some reason the controller on chatController.js is not working, since when i told it specifically to alert when it is in the Chat but it didnt. Here is the plunker: https://plnkr.co/edit/ycpJmsIKJaKlcpoUma43?p=preview
And Cloud9: https://ide.c9.io/amanuel2/chattapp
Here is the chatController.js file:
app.controller('chatController', ["$scope", function($scope) {
alert("Works???");
}
]);
regControllercontroller is not defined..