Angular with modal pop up code example
Example 1: ways to open modal in angular
document.getElementById("openModalButton").click();
Example 2: open popup in angular
<h1 md-dialog-title class="primary-color">hey title</h1> <md-dialog-content class="accent-color"> hey this is the content of the dialog </md-dialog-content> <md-dialog-actions> <button md-raised-button color="primary" md-dialog-close> close button </button> </md-dialog-actions>