Hi!
The modal directive for the angular-app was taken from the angular-ui/bootstrap:
The mentioned repo has 2 different modal implementations:
1) Modal directive - if you want to embed modal content in your partial
2) Dialog service - if you want to trigger modal from a controller and have modal content in an external template - this is often more convenient.
Angular-strap has also a modal directive but my understanding is that strap's version has dependency on bootstrap's JavaScript (so you need to include it) while the version in the angular-ui/bootstrap is a native AngularJS implementation and doesn't require any external dependencies.
In an essence a modal directive is a really simple one, it the essence it toggles CSS classes based on a model value. On top of this it adds a special element to the body to support backdrop and register key-press handlers (ESC):
Not sure if I'm answering your question fully, if not just prepare a plunk (you can start with one from the demo site), try to experiment and post something here if things don't work as expected.
Cheers,
Pawel