I'm trying to see if there is a good way to implmenet ng-bootbox with a custom directive for selecting address.
Here is a basic example
<button class="btn btn-lg btn-primary"
ng-bootbox-title="A cool title!"
ng-bootbox-custom-dialog="<h1>zzzzzzzzzzzzzzz!</h1>"
ng-bootbox-buttons="customDialogButtons"
ng-bootbox-options="dialogOptions">
Custom dialog with template
</button>
Here I have the message that the quotation marks must match. I've also tried this:
ng-bootbox-custom-dialog="<h1>zzzzzzzzzzzzzzz!<'/'h1>"
Doing this broke my H1 and it rendered this
'/'h1>"
I eventually want to do this:
ng-bootbox-custom-dialog="<qas-modal-find-postcode address='record.address' town='record.town' county='record.County' post-code='record.postcode'></qas-modal-find-postcode>"
button loads up directive in modal and I have some two way binding to work with.
I would like to know a good approach for this. I am not using bootstrap modal because I was getting some conflicts with multiple Ids being the same.
Plunker: