Angular Ui Router Needs Polyfill

less than 1 minute read

This problem was Fixed version 1.0.20!! (thanks betty!)

In IE(Internet Explorer) 11, Angular-UI-Router(v1.0.19) with AngularJS and ocLazyLoad failed to instantiate.

SCRIPT5022: [$injector:modulerr] Failed to instantiate module majorApp due to:
Error: [$injector:modulerr] Failed to instantiate module ui.router due to:
Error: [$injector:modulerr] Failed to instantiate module ui.router.init due to:
TypeError: Object doesn't support property or method 'find'
   at getParamDeclaration (
   at Param (
   at ParamFactory.prototype.fromConfig (
   at makeConfigParam (
   at Anonymous function (
   at forEach (
   at map (
   at paramsBuilder (
   at Anonymous function (
   at (

To resolve this error, you need polyfill.

Add the below code.

<script src="//,MutationObserver"></script>

And it will work.


  1. This problem was fixed. It works on v1.0.20.
  2. If polyfill did not work, use this polyfil from brennaveen!)
  3. v1.0.19 looks unstable

Leave a comment