AngularJS Sample Code