working on the angularjs1 pdf exercises to understand angularjs