If I register controllers with Module#controller, how can I use those controllers when I configure the routing like in the example? Do I inject them into the config? Is that even possible? Or should I be passing surrogates for them into my $routeProvider.when statements?
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/isW6UH8fTyQJ.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.