Link to href html element

Hello community, I have a problem when I need to click on an item send me the beginning of another element. Doing ionic redirects me to the url but the id of the element, example:

<a href="#elemento">Test</a>

 <div id="elemento">
     <h1>Hello</h1>
 </div>

But what I get is go to http: // myproject / # element, anyone know how I can fix this?


:wink:

And please do not use href attribute in angular apps, if you only navigate in your app.

Use ui-sref (from ui-router) or ng-href (standard angular).