WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AngularJS a Directive


Example

The connect inside the AngularJS application won't reload the page:

<a href="">Click me!</a>
<div ng-app="">
    <a href="">Click me too!</a>
</div>
Try it yourself »

Definition and Usage

AngularJS changes the default conduct of the <a> element.

AngularJS keeps the page from reloading when a client taps on a <a> component with a void href attribute.