I install bootstrap-sweetalert to my webapp through bower with -> $ bower install bootstrap-sweetalert <- and configure the requireConfig.js to make require listen to