Closed abryden closed 9 years ago
Not sure what this means.
I would like to be able to type something like "yo angularfire:route myroute:myRouteParam" and have it produce a cleverly named controller with $routeParams and the appropriate route.
I see now that this beyond the scope of the original generator-angular so there is probably a good reason why this doesn't happen but it would be slick.
Thanks for explaining! I'd highly recommend submitting this to the generator-angular project. It seems reasonable to me (also like something that would already be in the issue list). If they were to add it, then it would be merged back into this project as well.
As far as I can tell the route generator does not have any ability to take route parameters in generating the route. This would be extremely handy.