ng-changeLocation

Simple service for redirecting by controller name, with exact parameters binding.
1 person uses it
Author: F941db4805786f3e9eb2698a27ce8ff7?d=https%3a%2f%2fidenticons.github.com%2fba4f2ebcf269b4c754e472bc53f01dd2 migajek

changeLocation for AngularJS v 0.1

Simple service for redirecting by controller name, with exact parameters binding.

Usage example:

call:

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

Known limitations:

Author: MichaƂ migajek Gajek http://migajek.com/

comments powered by Disqus
This page was last updated almost 4 years ago.