lundi 23 mars 2015

AngularJs - How to not using jquery when calling bootstrap modal


I'm new in AngularJs. I try to make web with AngularJs and Bootstrap. when I call bootstrap modal I use this script :



$scope.here = function here(f) {
$('#smallModal').modal();
$('#contentin').html(f);
}


that code I call use ng-click=here('test') in my header html i still use Jquery library. My question is , is it posiblle to unload jquery for call modal bootstrap who called with $ prefix. I don't want to use any plugin except AngularJs





Aucun commentaire:

Enregistrer un commentaire