I want to use routes, but I always want to use same template & controller. I have routes like this:
**a/:albumid**
and
**i/
I created a super simple directive to handle this that allows routes to be have more like Rails or Codeigniter routes where the controller method is in the route definition. The method name is set in the routeProvider.when options and the directive is set in the template for the route. See: https://stackoverflow.com/a/22714634/250991