more interactivity in angularjs demo