Problem using template inside routable tab

Hello,
I’m trying to use routable tabs with async loading and templates, but seems that templates are not parsed fine.
Sources:

routes = [
{
path: ‘/’,
url: ‘./pages/main.html’,
tabs: [
{
path: ‘/perfil/’,
id: ‘tab-perfil’,
async: function (routeTo, routeFrom, resolve, reject) {
resolve(
{
templateUrl: ‘./pages/perfil.html’,
},
{
context: {

template perfil.html:


Nombre y apellidos

And what I get render in html is:

Nombre y apellidos

Thank you for your time!

You have component layout, use componentUrl instead