Modal only display content after second open
When using an external URL to load modal template (not inline) the modal is empty on first open() then once closed (clicking in gray area) opening it again then display the modal correctly.
I modified your example plunkr and simply moved the the modal template to an external file:
example: http://plnkr.co/UssLZD5tuBTa5k9jrky6
You are doing it wrong ;)
The <script type="text/ng-template" id="newModal.html"> tag puts the template in the ng-template store (with the name newModal.html). This happens on your first click. On the second click the content is fetched from the store and everything works.
Removing the script tag should do the thing for you.
You are absolutely right. Thanks.