Angular directive and routing