An AngularJS example