collection-repeat show only the first element ??
I have different button , A, B …
$scope.ShowA = function()
$scope.words =
[{
"Fr":"À (lieu)",
"Kb":"Di"
},
{
"Fr":"Â(temps)",
"Kb":"Ar"
},
{
"Fr":"A bientôt",
"Kb":"Ar ticki"
},
.
.
.
.
.
in the Html i have ;
<button class="button button-assertive" ng-click="ShowA()">
A
</button>
<div class="row">
<div class="col">
<div class="list">
<div class="item item-divider">
<h2 style="color:green">Francais</h2>
</div>
</div>
</div>
<div class="col col-50">
<div class="list">
<div class="item item-divider">
<h2 style="color:blue">Kabyle</h2>
</div>
</div>
</div>
</div>
<div class="row" collection-repeat="word in words">
<div class="col">
<ion-item>
{{ word.Fr }}
</ion-item>
</div>
<div class="col">
<ion-item>
{{word.Kb}}
</ion-item>
</div>
</div>
Thank you …