'Angular UI not rendering after published in Service Fabric (working fine in local)

Angular UI not rendering after publishing in Service Fabric. But when published in local, UI seems fine.

Earlier I saw few errors in the UI console. So I reinstalled few packages and now I cant see any errors in the UI console. I have retried many things like changing Visual studio version, updating packages, etc. But not sure what I am missing.

Note: Updated the compatible service fabric packages too.

Can some one let me know if I am missing something?

Edge:

Angular Edge

Chrome

Angular chrome



Solution 1:[1]

This happens in IE because by default polyfills are commented for IE in polyfills.ts file. Still you can check for other browsers as well.

Please check browser support here for angular.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RajkumarMamidiChettu-MT