update demo for AngularJS - Refinements