How to add ng-swipe-left and ng-swipe-right using angular-touch library to navigate angularUI datepicker next & previous months ?
I added the plunker here
$scope.Next = function() {
$scope.$evalAsync(function() {
angular.element(document.querySelector('.pull-right')).triggerHandler('click');
});
};
$scope.Previous = function() {
$scope.$evalAsync(function() {
angular.element(document.querySelector('.pull-right')).triggerHandler('click');
});
};
From the plunker code , I am getting Error: $rootScope:inprog Action Already In Progress from browser console.