B
B
bumbay2014-08-23 16:00:56
Angular
bumbay, 2014-08-23 16:00:56

Anchor not working in AngularJS?

...
<a name="top"></a>
контент
....
контент
...
<a href="#top">Вверх</a>

.. ангуляр ..
.. app.js ..

What needs to happen is clear. But, when you click on the link up, the url changes to - site.ru/#/top and nothing happens.
Google didn't help. How to solve the issue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Lopatin, 2014-08-23
@bumbay

Add target:
Description and answer to the question "why" - here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question