i want load modal using custom directive when hyperlink clicked. thing hyperlink defined ng-click function. current ng-click function should work requirement. how can without changing ng-click function? below hyperlink.
<a href="#" class="book-btns add-to-cart" data-ng-click="service.addtocart(hotel)" >add cart & continue> </a>
href="javascript:;" should work disable default link behaviour.
Comments
Post a Comment