You can create popup with this basic directive
If the girl you love moves in with another guy once, it's more than enough. Twice, it's much too much. Three times, it's the story of your life.
Popups use a library called Tether. Tether attaches an element to another element with absolute positioning; however, there is one caveat. If your popup is nested within a scrollable area (not `body`) but it's not the immediate parent of that element, it will lose its positioning.