craftpip / angular-confirm

A multipurpose plugin for alert, confirm & dialog for angular1
http://craftpip.github.io/angular-confirm/
MIT License
115 stars 20 forks source link

Error: [jqLite:nosel] #20

Open imanshu15 opened 6 years ago

imanshu15 commented 6 years ago

screenshot 8

I am getting this error when trying to call this

 $ngConfirm({
             title: 'Alert',
             icon: 'fa fa-info-circle',
             theme: 'supervan',
             content: '',
             animation: 'scale',
             closeAnimation: 'scale',
             buttons: {
                 ok: {
                     btnClass: "btn-blue",
                 },
                 close: function () {

                 }
             },
         })
tiagopassinato commented 6 years ago

Hey! I had the same issue. Try loading Jquery lib before any angular script.

tomchiverton commented 4 years ago

Fixed it for me

    <script src="lib/jquery.min.js"></script>
    <script src="lib/angular.js"></script>
    <script src="lib/angular-confirm/angular-confirm.min.js"></script>