How can I deactivate the ng-swipe-right and ng-swipe-left functionalities for an Angular Bootstrap carousel? I attempted the following approach:
Once the carousel is loaded:
$timeout(function() {
angular.element('.carousel').attr('ng-swipe-right', '');
angular.element('.carousel').attr('ng-swipe-left', '');
}, 10);
Despite implementing this code, it doesn't seem to be effective. What could I be overlooking?