Fixed ngmin build issue introduced in route refactoring, Fixes #622