changeLocation for AngularJS v 0.1
Simple service for redirecting by controller name, with exact parameters binding.
this will cause the service to look for routes which lead to 'PersonDetailController', but only the route which parameters list exactly matches the parameters object provided will be used in the example case, the second route will be matched:
be aware that the parameters list must match EXACTLY, that is - calling:
won't match any of the above routes, but will match this one
Author: Michał migajek Gajek http://migajek.com/