Disclaimer: Originally this was answer on stackoverflow... Question was removed, so - answer was not published. But it is good as an example how to do modals or something like in angular
At first, take a look at ui-bootstrap modal implementation, it is a good example how modals can be implemented in angular.
Recently, I have some experience implementing my own modals for states in ui-router
, my implementation was inspired by ui-bootstrap modal.