If i have a json array containing my products and am using ng-repeat to display them on page.
I then have two select boxes used to filter by colour and size which is all working fine,
However if I filter by colour the size select box still shows all sizes for the entire array of products, how can I refresh the contents of the size select box based on whats filtered?