Reputation: 1066
I need to build a simple state, city, location filter using angularjs. I just about have a working sample together, but my select won't bind to the output. Here is the code:
http://jsbin.com/kamenoficihu/7/edit
What am I doing wrong?
Upvotes: 0
Views: 476
Reputation: 6962
Just replace this code:
<ul ng-repeat="(key,val) in stores | groupBy: 'State' | filter:selectedState">
on this:
<ul ng-repeat="(key,val) in stores | filter:selectedState | groupBy: 'State'">
Upvotes: 1