A
A
Artem Komarov2016-08-18 13:08:02
Angular
Artem Komarov, 2016-08-18 13:08:02

Is there a way to make photo / video navigation like in VK using Angular?

I may be asking the obvious things, but somehow I did not find a way to do that in such a way

localhost/#/user/9sdf9s8/video

and such
localhost/#/user/9sdf9s8/video/s87ya8

were displayed on one page, only the last link would still have a maximized window with a video (without reloading the page). And so that when you scroll through them (I stupidly replace current_video in the controller with the next or previous video from the array), the address bar changes (video id in this case)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2016-08-18
@m0sk1t

ui-router use

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question