The app is very simple :
- It contains two Views (described in partials), that are using the same Controller
- The data comes from a JSON file and accessible from a Service.
- I had to write a custom Filter to filter works based the checked checkboxes.
What is interesting is that I didn’t needed to code any data-binding or manual refresh, Angular is handling this for me since everything is properly wired. For example: clicking on the sort radio-button changes the ‘sort’ variable that are linked to the works filters.
Read and fork the portfolio code on github.