Answer the question
In order to leave comments, you need to log in
How to "design" a website?
How to organize an application?
There is a one-page "view" with scrollable sections.
And you need to click on a certain link to go to another "layout" with your own design, such as from the main one to the admin panel.
How to do it?
Make in index.html <div ui-view></div>
and
$stateProvider.
state('/', {
url: '/',
templateUrl: 'views/index.html'
}).
state('dashboard', {
url: '/dashboard',
templateUrl: 'views/dashboard.html'
});
, $anchorScroll
other legacy from jquery Answer the question
In order to leave comments, you need to log in
<nav>
<ul class="nav blah-blah-blah">
<li data-ui-sref-active="active">
<a data-ui-sref="/">Home</a>
</lI>
<li data-ui-sref-active="active">
<a data-ui-sref="dashboard">Dashboard</a>
</lI>
</ul>
</nav>
If you need a different design, you can simply load a different CSS.
Now you can change $rootScope.theme_name to any name and another theme will be loaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question