Answer the question
In order to leave comments, you need to log in
How to update only one nested ui-view?
Hello!
Sample structure:
<ui-view data-name="content">
<ui-view data-name="filterAndSort"></ui-view> <!-- Сортировка и фильрация -->
<ui-view data-name="result"></ui-view> <!-- Результат фильтрации и сортировки -->
</ui-view>
.state({
name: 'tasks',
url: "/tasks?sort&filter",
resolve: {
...
},
params: {
sort: {
value: 'updated',
squash: true
}
},
views: {
'content' : {
component: 'pageTasks'
},
'[email protected]' : {
component: 'filter'
},
'[email protected]' : {
component: 'list'
}
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question