2
I am starting to work with Angularjs and I have the following situation I have a href that redirects to a div inside the page itself by the id of the div:
<a href="#teste"></a>
<div id="teste"></div>
but Angularjs tries to read this test called by href as if it were a view, does anyone know how to get around it? Maybe something that will make href identify that he is an anchor and not a view, or else that you know is also welcome.
We’re not missing the
#
before? Like:href="#teste"
– Jéf Bueno
You can use a component
router
to manage your application routes. That documentation can help you with initial implementation– Sorack