just some angularJS sample code