The new router seems to follow particular name convention. It will try to instantiate clusterController, masterController. But I do have different policy to name controllers and templates. Even setTemplateMapping and setControllerMapping won't help.
I'd like to know, whether it is possible to use the original angular way to specify the name of template and controller. I think most people who look for a ngroute alternative is because it does not support nested ngviews. So compatible to ngroute will be very helpful.
The config syntax is familiar but sightly different to ngroute.
The new router seems to follow particular name convention. It will try to instantiate clusterController, masterController. But I do have different policy to name controllers and templates. Even
setTemplateMapping
andsetControllerMapping
won't help.I'd like to know, whether it is possible to use the original angular way to specify the name of template and controller. I think most people who look for a ngroute alternative is because it does not support nested ngviews. So compatible to ngroute will be very helpful.