All Questions
Tagged with angularjs-events angularjs-scope
3 questions
0
votes
1
answer
652
views
AngularJS Is it possible to listen to $destroy in another controller?
In my application, When a controller is being destroyed, is it possible to the $destroy event it emits in another controller?
0
votes
0
answers
194
views
Propagating events from d3.js to angular without resorting to scope.apply
I am using the d3.js library inside an angular 1.x controller.
My d3.js library creates a click event on a div and when the div is clicked, it updates something on the angular controller's scope.
The ...
0
votes
1
answer
1k
views
AngularJS 1 with TypeScript: where in controller to put $rootScope.on?
Service
export class RandomServiceName implements ng.IServiceProvider {
/* @ngInject */
constructor(private $rootScope: ng.IRootScopeService) {
}
public $get(): RandomServiceName {
...