E
E
E_K2016-03-29 11:17:30
Angular
E_K, 2016-03-29 11:17:30

How to properly organize a SPA in Angular?

Good afternoon!
It is proposed to develop a SPA application with a navigation panel and authorization (a form is called by a button in the panel, data exchange with the server). The top panel is supposed to use $routeProvider and load the views into the container. How to properly organize the output to the same container of a different type only for registered users after authorization? It turns out that it will not be executed by reference and the rootProvider will not process it, what mechanisms should be used for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-29
@E_K

take uiRouter, there is an opportunity to make a hierarchy of views. Well, or component router if you still take angular 1.5.
If you have not started yet, I recommend taking this starter (as an advertisement).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question