When I click on the defined button below, the modal box doesn't show. If I use the chrome developper tool, I see that my div "modalDisplay" is populated with my modalDisplay.html content, but when I click the button, nothing happens, no error, just nothing. I am using angularjs with the angularjs bootstrap plugin
In my partial view I have the following:
<div id="modalDisplay" class="modal hide fade" ng-include="'./app/templates/modalDisplay.html'"></div>
<button class="btn btn-primary" href="#modalDisplay" data-toggle="modal" ng-show="displayType=='Customer'">
Show Modal
</button>
In my modalDisplay.html
<div ng-controller="mODALCtrl" class="ng-scope">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>My modal</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
<div></div>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Cancel</a>
</div>
</div>