rowTemplate
can be used to render items in a more descriptive, article based format.
grid
should refresh render when changed, and have a suitable CSS formatting.
{{record.row.description}}
{{record.row.fruit}}
{{record.row.link}}
Energy {{record.row.energy}} Kcal {{record.row.energy / 2000 * 100 | round(2)}}% Carbohydrates {{record.row.carbohydrates}} g {{record.row.carbohydrates / 125 * 100 | round(2)}} % Protein {{record.row.protein}} g {{record.row.protein / 50 * 100 | round(2)}} % Total Fat {{record.row.fat}} g {{record.row.fat / 35 * 100 | round(2)}} % Dietary Fibre {{record.row.fibre}} g {{record.row.fibre / 40 * 100 | round(2)}} %
[
{fruit: 'apple', energy: 50, carbohydrates: 13.81, protein: 0.26, fat: 0.17, fibre: 2.4,
description: 'Delicious and crunchy, apple fruit is one of the most popular and favorite fruits among the health conscious, fitness lovers who firmly believe in the concept of “health is wealth.” This wonderful fruit is packed with rich phyto-nutrients that, in the true sense, indispensable for optimal health. The antioxidants in apple have several health promoting and disease prevention properties, and thereby, truly justifying the adage, “an apple a day keeps the doctor away.”',
link: 'http://www.nutrition-and-you.com/apple-fruit.html',
scientificName: 'Malus domestica'
},
{fruit: 'banana', energy: 90, carbohydrates: 22.84, protein: 1.09, fat: 0.33, fibre: 2.6,
description: 'Go for banana fruit; nature\'s own energy-rich food that comes in a safety envelope! Fresh, creamy, and delicious dessert bananas are one of the cheapest and easily available year around. Botanically, the fruit belongs to the family of Musaceae. Commercially, it is one of the widely cultivated crops in the tropical and subtropical zones.',
link: 'http://www.nutrition-and-you.com/banana-fruit.html',
scientificName: 'Musa acuminata colla'
},
{fruit: 'grape', energy: 69, carbohydrates: 18.0, protein: 0.72, fat: 0.16, fibre: 0.9,
description: 'Widely popular, grapes are regarded in many cultures as “the queen of fruits," since centuries. These tiny berries are the storehouse of numerous health promoting phyto-nutrients such as poly-phenolic antioxidants, vitamins, and minerals. No wonder why many of us include them as an integral part of our diet, be it in the form of fresh table fruits, juice, or in salads! Botanically, they are small round berries; grow in clusters on a perennial and deciduous woody vine of the genus: Vitis. Grapes are native to Europe and Mediterranean regions but now widely cultivated all around the world.',
link: 'http://www.nutrition-and-you.com/grape-fruit.html',
scientificName: 'Vitis vinifera, Vitis labrusca, Vitis rotundifolia'
},
{fruit: 'pear', energy: 58, carbohydrates: 13.81, protein: 0.38, fat: 0.12, fibre: 3.1,
description: 'Sweet, delicious and rich flavored pears offer crunchiness of apples yet juicy as peach and nectarine. They are widely popular, particularly in the whole of the northern hemisphere, for their unique nutrient qualities. Botanically, it is a "pome fruit” produced in the Rosaceae family of trees, in the Pyrus genus. Pome fruit trees are average sized trees found in the semi-tropical regions around the northern hemisphere and also include apple, loquat, medlar...etc.',
link: 'http://www.nutrition-and-you.com/pear-fruit.html',
scientificName: 'Pyrus communis'
},
{fruit: 'strawberry', energy: 32, carbohydrates: 7.7, protein: 0.67, fat: 0.3, fibre: 2.0,
description: 'Delicious, rich-red, sweet, yet gently tart strawberries are among the most popular berries. These berries are native to Europe, however, nowadays cultivated as an important commercial crop in many temperate regions all over the world. Botanically, the plant is a low-growing runner (creeper) belonging to the family of Rosaceae, in the genus: Fragaria.',
link: 'http://www.nutrition-and-you.com/strawberry-fruit.html',
scientificName: 'Fragaria X ananassa'
}
]
{{record.row.fruit}}
{{record.row.link}}
Energy {{record.row.energy}} Kcal {{record.row.energy / 2000 * 100 | round(2)}}% Carbohydrates {{record.row.carbohydrates}} g {{record.row.carbohydrates / 125 * 100 | round(2)}} % Protein {{record.row.protein}} g {{record.row.protein / 50 * 100 | round(2)}} % Total Fat {{record.row.fat}} g {{record.row.fat / 35 * 100 | round(2)}} % Dietary Fibre {{record.row.fibre}} g {{record.row.fibre / 40 * 100 | round(2)}} %