Demo for angularjs