angularjs - how call jquery plugin function inside controller in angular js -


i using below code inside document ready function

 toastr.clear();  toastr.options.closebutton = true;  toastr.info('message close button', ''); 

and working fine. have confusion call mentioned function in controller.

i recommend using angular toastr instead: https://github.com/foxandxss/angular-toastr

then away pain of integrating jquery angular.


Comments