Brushing up on my Angularjs skills