/** * @license AngularJS v1.6.4 * (c) 2010-2017 Google, Inc. http://angularjs.org * License: MIT */This was a huge undertaking as there were some breaking changes.
http://localhost:9753/SiriuswareControl/Specials/SpecialGroups#/edit/2and now they are resolving to this
http://localhost:9753/SiriuswareControl/Specials/SpecialGroups#!/edit/2Please note the extra ! before edit in the second variation.
scope.editDeepLink = function () { var linkUrl = scope.dropdownSettings.routePath; // check if dropdown is to be linked to items if (angular.isDefined(scope.dropdownModel.value) && angular.isDefined(scope.dropdownModel.value.departmeId) && angular.isDefined(scope.dropdownModel.value.categoryId) && angular.isDefined(scope.dropdownModel.value.itemId)) { linkUrl += scope.dropdownModel.value.departmeId; linkUrl += '/' + scope.dropdownModel.value.categoryId; linkUrl += '/' + scope.dropdownModel.value.itemId; //scope.dropdownModel.value = null; } else { linkUrl += scope.dropdownModel.key; }; //scope.toggleShowButtons(); if (scope.showEdit) { window.open(linkUrl, '_blank'); }; };when we have our routePath defined as
routePath: urlProtocolAndPath + "Items/BlackoutTemplates#/edit/"Of course, one solution could be to adjust our directive to replace # with #! and hopefully it should work. Also fix couple of places where we used similar approach to open a new window.