title: Failed to instantiate module in IE
body: <p>I have an index.html file, where I use 'logOut' directive from 'logoutModule' and 'ProductService' from 'productModule'.</p>
  
  <p>However, it is unable to load 'logoutModule' in IE. It works fine in all other browsers.</p>
  
  <p>I have an app.js file,</p>
  
  <pre><code>var app = angular.module('app', ['logoutModule','productModule']);
  </code></pre>
  
  <p>I have logoutModule.js file,</p>
  
  <pre><code>var logApp = angular.module("logoutModule",[]);
  logApp.controller("logOutController",['$scope',function($scope){
  
  $scope.logout=function(){           
      window.location.href ='https://google.com'; 
      sessionStorage.clear();
  } 
  }])
  .directive("logOut", function(){
  return {
   template:`&lt;img class="logout" ng-src="./image/cmdSignout24.svg" ng-click="logout()"&gt;`,
   controller:'logOutController'
  }
  });
  </code></pre>