Error with Internet Explorer and .assign method
Hello, there is an issue when declaring the plugin. It seems there is not alternative to checking for the assign method when using IE.
Please have a look at http://stackoverflow.com/questions/35215360/getting-error-object-doesnt-support-property-or-method-assign
We should replace usage of Object.assign with the extend function from ui-router-core.
I decided to try and shim this for my AngularJS app by adding:
if (!$window.Object.assign) {
$window.Object.assign = $window['@uirouter/angularjs'].extend;
}
Before the call to register the Visualizer with my uiRouterInstance, and that much worked.
However, that leads to another fatal stop because the Visualizer uses Promise and IE 11 doesn't have that. To work around that I added the es6-promise package to my project and added it to the list of third party scripts my build task compiles, works now!