Trigger bootstrap modal by AngularJs and then get data by $http.post
<p>I have a list of customers each customer have button more info.
I want , when i click on it then showing bootstrap modal by AngularJs controller and then request data by $http.post and getting some more info about this customer and showing info inside modal.
How can i do this purpose ?
this button :</p>

<pre><code>&lt;button type='button' class='btn btn-primary btn-sm' 
data-ng-click='moreinfo(customer.id)' &gt;more info&lt;/button&gt;
</code></pre>