angularjs - Open modal inside a modal -


i have angular ui modal. in there button.on clicking button want open modal in angular ui.how can this

 $scope.open = function () {     var modalinstance = $modal.open({         templateurl: 'mymodalcontent.html',         controller: modalinstancectrl,      }) }; 

mymodalcontent.html contains button on clicking want open modal. <a class="btn btn-success" href="#" role="button" ng-click="openmodal()">open modal</a>

i unable open modal on clicking button

you can open second modal without trouble

var modalinstancesecond = $modal.open({     templateurl: 'mysecondmodalcontent.html',     controller: 'modalinstancectrl', }); 

take plunker:

http://plnkr.co/edit/vfwjogyvmffl2xcvm0pj?p=preview


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -