This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Bug: Setting $location.search() param value to null causes infinite digest loop #9629
Closed
Description
The bug occures only in new 1.3.0 version of Angular.
When I use $location.search('some_param', 'value')
everything works fine.
But when I then use $location.search('some_param', null)
to clear that search param, Angular falls into infinite digest loop.
See plunkr for example.