user1015388 user1015388 - 1 month ago 21
AngularJS Question

confirm dialog in angular-ui

On click of a delete button, I want to display a confirm dialog box with YES or NO option for the user to select using angular-ui or bootstrap.

Can anybody provide a sample for this feature.

Answer

I work with angular2/typescript but i dont think it differs much with this sort of things.

This is the example i used for my project.

valor-software http://valor-software.com/ng2-bootstrap/#/modals

or else use this.

http://v4-alpha.getbootstrap.com/components/modal/