Improved exercise 2. Added timeDuration directive example