ngDialog in angularjs [Resolved]

Posted by Syedshakeer under AngularJS on 8/28/2016 | Points: 10 | Views : 594 | Status : [Member] | Replies : 1
Hi,

Can some one give example for ngDialog.

Modal dialog should open when user clicks on hyperlink.

var myModalApp = angular.module('myModalApp', ['ngDialog']);
myModalApp.controller('myModalController', function ($scope,ngDialog) {
$scope.SingupDialog = function () {
ngDialog.openCofirm({
template: '<div>Hello World </div>',
plain: true,
scope:$scope

});
};
});


Syed Shakeer Hussain


Responses

Posted by: Rajnilari2015 on: 9/7/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
Please look into this ( http://plnkr.co/edit/YHgXxqKwvjYpWPsFtlw1?p=preview )

Hope that helps. Kindly let us know in case you need further assistance .

Thanks

--
Thanks & Regards,
RNA Team

Syedshakeer, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response