added routing and directive example