1st pass at adding a directive for changing routes