fix angular route deferring