In our hybrid project, the routing is done by https://angular.io/guide/router. Therefore, it is not done by some NG1 router. In this case, the $location service cannot be used anymore. The solution is to access the native location object via $window.location.
In our Hybrid Angular app, we switched from UpgradeModule to DowngradeModule to avoid performance issues (https://pr18487-aedf0aa.ngbuilds.io/guide/upgrade-performance).