A simple demo on angularjs