function in controller:
$scope.f = function($event){ $event.preventDefault(); //logic return data; } it('should...', function(){ //fire event and expect data })
what is right way for fire event?
Aucun commentaire:
Enregistrer un commentaire