Code for AngularJS presentation