right now you have to do a ugly hack to achieve something similar (for example: http://stackoverflow.com/questions/11534710/angularjs-how-to-use-routeparams-in-generating-the-templateurl )
it would be nice if angularjs allows you to pass a function that receives $routeParams (and $location if possible)
what do you think?
right now you have to do a ugly hack to achieve something similar (for example: http://stackoverflow.com/questions/11534710/angularjs-how-to-use-routeparams-in-generating-the-templateurl )
it would be nice if angularjs allows you to pass a function that receives $routeParams (and $location if possible)
what do you think?