{
path: '/',
options: {
reloadCurrent: true
},
componentUrl: './pages/home.html',
}, // index
{
path: '/pages/categoria/:padre_uuid/:grupo_uuid/',
async: function (routeTo, routeFrom, resolve, reject) {
// le asigno el UUID que viene por parametro
var context = {
grupo_uuid : routeTo.params.grupo_uuid,
padre_uuid : routeTo.params.padre_uuid
};
// lo ruteo y le mando el uuid en el context
resolve(
{ componentUrl: "./pages/categoria.html",
keepAlive: true },
{ context: context },
);
},
},
It dosen’t work with infinitscroll, it’s reload the content