I`m using Modals from Bootstrap and AngularJS but I want only toggle the modal if userInfo.info.dogeAddress is not '';
<a ng-class="{notClickable: userInfo.info.dogeAddress == '', clickable: userInfo.info.dogeAddress != ''}" data-toggle="modal" data-target="#myModal">Opwaaderen »</a>
so, I know how to do it with classes, but how can we do this with data-target and data-toggle?