Can you quickly check out these two examples and tell me why one is working while the other isn't?
Here is the first example with real json data extracted from my app, which is not working: http://plnkr.co/edit/2Z5SMlANCGd3r4Trfwzm?p=preview
And here is the second example that is functioning properly, but without real json data: http://plnkr.co/edit/su8CD9L01XMXowCkXcel?p=preview
If you can identify the error, I am aiming for the behavior demonstrated in the second Plunkr. Everything seems correct there, but I'm puzzled as to why the first one with actual information is not working.
<div ng-app="myApp">
<div ng-controller="TestController">
<input type="search" placeholder="Search" ng-model="query" />
<div ng-repeat="sport in sports | filter:{$: query}" ng-show="sport.leagues.length">
<div>
<strong>{{sport.name}}</strong>
</div>
<div class="item item-button-right" ng-repeat="league in sport.leagues" on-tap="goToLines(league)">
{{league.name}}
</div>
</div>
</div>
</div>