Demonstration of using a popup window with AngularJS