routing an custom directive