added additional test

This commit is contained in:
Misko Hevery
2010-08-10 11:17:08 -07:00
parent 49e08f5d2c
commit 4aac29da18
2 changed files with 8 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ function switchRouteMatcher(on, when, dstName) {
return match ? dst : null;
}
angularService('$route', function(location, params){
angularService('$route', function(location){
var routes = {},
onChange = [],
matcher = switchRouteMatcher,