An assortment of AngularJS code