I'm sorry for my little knowledge in Angular. I'm learning it :)
I Would like to display in the template an array field. And it doesn't work in the way I'm doing it. :(
Home.page.TS
appInfo: any[] = [
{
title: 'Chapitre 1',
description: 'Contenu'
}
];
home.page.html
<ion-header>
<ion-toolbar>
<ion-title>
Application de Test
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content >
<h1>{{appInfo.title}}</h1>
<ion-text>{{appInfo.description}}</ion-text>
</ion-content>
It doesn't show the filed.