Add angularjs code to open and close dialogs. Includes logic to update and listen to popover query parameter as broadcast currently does. Uses ngDialog angularjs module.
Merge pull request #6193 from piwik/angularjs_dialog

Add angularjs code to open and close dialogs. Includes logic to update and listen to popover query parameter as broadcast currently does. Uses ngDialog angularjs module. Next step should be to convert/remove broadcast global object.