V
V
Vsevolod Rodionov2015-02-26 21:57:04
Angular
Vsevolod Rodionov, 2015-02-26 21:57:04

Is there a router in Angular that would work with location.search and location.hash?

In short:
you need to be able to catch transitions between such paths
?path1#section1
?path1#section2
?path2#section2
How to do it in a simple way - to be honest, I don’t understand :)
If someone is wondering why this is an HTML-only application, from one index.html. At the same time, part of the path should be able to share, and the other part should be navigation between sections on the page.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-02-26
@miraage

This is pure perversion.
There is an angular-ui-router. If necessary, enable html5mode in $locationProvider.

I
Igor Kalashnikov, 2015-02-26
@zo0m

maybe this problem can be solved by putting down the value on the backend?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question