Good evening friends, I'm doing a shopping cart on ionic and I want to show the detail of each product in a modal at the moment of clicking on its image.
This is the code that shows me all the products
<div ng-repeat="p in producto |filter:buscador" ng-model="checked">
<a href="#/detalle?idp={{ p.id }}">
<div class="contenedorP text-center" ng-init="checked=0" style="width: 33.3333333333%; float: left;">
<img src="{{p.picture}}" class="itemProducto" width="100" height="110" alt="">
<p class=" pullDown precio">{{ p.name }} </p>
<p class=" pullDown precio">{{ p.price | currency: "$" : 0 }} </p>
</div>
</a>
</div>
I want to make a method that when clicking on it, show me a modal with the detail of that product and show me the option to add or not to the cart