Permalink
1 comment
on commit
sign in to comment.
Browse files
fix(ngRoute): allow proto inherited properties in route params object
copy route params with angular.copy before using angular.extend which looks only for enumerable own properties Closes #8181 Closes #9731
- Loading branch information
Showing
with
23 additions
and 4 deletions.
- +8 −4 src/ngRoute/route.js
- +15 −0 test/ngRoute/routeSpec.js
This comment has been minimized.
b477058This fix would cause a problem when 'route' is undefined. Test code which calls $routeProvider.otherwise() would be broken.