diff options
Diffstat (limited to 'src/services.js')
| -rw-r--r-- | src/services.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services.js b/src/services.js index de65e30f..1a7b91ac 100644 --- a/src/services.js +++ b/src/services.js @@ -708,7 +708,7 @@ angularServiceInject('$route', function(location) { if (!childScope) { var pathParams = matcher(location.hashPath, route); if (pathParams) { - childScope = parentScope.$new(); + childScope = createScope(parentScope); $route.current = extend({}, routeParams, { scope: childScope, params: extend({}, location.hashSearch, pathParams) |
