Exercises with angularjs