All Questions
Tagged with angularjs-events angularjs-directive
4 questions
0
votes
1
answer
219
views
How to handle click events from inside of the directive?
I have a modal component that takes an object with binding (ng-model). Something like:
<modal ng-model="modals.createContact"></modal>
I'm checking for $ctrl.ngModel.show to show/hide the ...
-2
votes
1
answer
298
views
directive to directive communication using broadcast angularjs
I have two directives and need to pass value from one directive after a post request into another directive.
The first directive looks like
var fileUpload = angular.module('fileUploadDirective',[]);...
1
vote
2
answers
710
views
stateChangeStart event in Angular doesn't fire when refreshing page
I have a custom directive:
export class XHideDirective {
static $inject = ["$rootScope"];
static $rootScope: any;
public static build($rootScope) {
var directive: ng.IDirective =...
1
vote
2
answers
1k
views
Best way for communication between directives
Copied from here. May be, I can get more proper answer here!
There seem to be quite a few ways of communicating between directives. Say you have nested directives, where the inner directives must ...