Question: how to use ngdialog in angularjs?
Answer: Step 1: You need ngDialog css and js libraries. You can download these from here: ... 
Step 2: Inject "ngDialog" in the app. js file. ... 
Step 3: Now inject that ngDialog in your angular controller where you want to consume its methods.