angular-broadcast Questions
3
Solved
I am using socket.io to enable chat in my app and i am using a service SocketService to perform all the socket stuff. When a message came then i want to trigger a function of a controller from the ...
Moser asked 5/3, 2015 at 17:29
2
I am working on a single page app, with angular and I have a need to communicate between 2 different directives which basically don't have a parent child relation.
In Directive A, I have 2 places ...
Petiolule asked 6/11, 2014 at 9:17
5
Solved
I am trying to get $rootScope.$broadcast to refresh my view.
The service is-
var app = angular.module("productsApp", [])
.service("serviceProvider", function ($http) {
this.getDatas = function...
Ichthyic asked 26/2, 2016 at 5:22
4
Solved
It sends $broadcast once from the rootScope, but the listener ($on) gets called twice.
The listener is in a controller and it uses $rootScope.$on instead of $scope.$on. Has someone had this proble...
Bluebill asked 21/6, 2015 at 20:19
1
© 2022 - 2024 — McMap. All rights reserved.