Hi David,

The simplest adaption to your current version is create a function in your 
controller that creates an prefilled array, and use that instead of the 
filter in the template.
something like:

    $scope.$watchCollection('scoreOdds',function () {
        $scope.filteredScoreOdds = $filter('someFilter')($scope.scoreOdds)
    })

I did not test this code (I just typed it up here!), so the might be a 
syntax mistake somewhere ;)

Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to