V
V
Vyacheslav Lebedev2014-12-11 18:01:02
Angular
Vyacheslav Lebedev, 2014-12-11 18:01:02

How to parse url and set .path to different value using angular js?

Good time! :)
There is a url: test.ru#/core/admin
You need to get $localion.path().
Those. this is: "/core/admin".
Help me to understand.
Many thanks in advance for your help! :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Gushchin, 2014-12-11
@slavikse

So what 's wrong with $localion.path() ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question