I want to create my own modal window using bootstrap markup and css. I have looked at existing projects like ng2-bootstrap but don't like that I have to put the modal html in the template - i would prefer it to be a service that has an open() method which returns a promise. This is how the angular-ui-bootstrap for ng1 works and would prefer to keep that. Unfortunately the ng2 version of this doesn't support bootstrap 3.
What angular class/api can I use to achieve this? I would like to create a service that has an open method which dynamically adds/remove dom nodes.