Some exercises with angularjs