AngularJS template for a javascript tech assignement