Modals and popups provider for Angular.js applications