Practice examples of angularjs