M
M
myspace2017-04-16 14:41:19
JavaScript
myspace, 2017-04-16 14:41:19

How to dynamically change layout in angularjs?

There are 2 layouts, login page and main site layout. How to load the desired layout? For example, if you are not logged in, then we show the login page with our layout, and after logging in, we load the main layout of the site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nuclear_kote, 2017-04-16
@myspace

https://docs.angularjs.org/api/ngRoute/service/$route

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question