Skip to content Skip to sidebar Skip to footer

Angular Apply Already In Progress

I am using an angular js plugin called intro.js. It can be found here. What I want to do with this is open up a dropdown when the user clicks on the demo button so that I can show

Solution 1:

I just had to wrap the call inside of a timeout.

MainCtrl.prototype.startHelp = function() {
    var _this = this;
    _this.$timeout(function() {
        angular.element('#drop-down-button').trigger('click');
    }, 0, false);
    _this.CallMe();
};

Post a Comment for "Angular Apply Already In Progress"