IE11 directive not showing up

Hey,

I’am a newbe in angular. Can you please help me with angular and directives? I build an angular app with a directive (view point with the attribute “templateURL” to an one html file).

On all browsers it works fine. Only on IE11 it don’t run. There comes the error message Script5007: Object expected (in angular.min.js). The app must run in the IE11

directive

myModule.directive('stefanTest', function() {
     alert("Test");
     return {
         templateUrl: 'sktemp.html',
         restrict: 'E'   
     };
    });

sktemp.html

<div> Test von Stefan </div>

index.html

<stefan-test ng-model="portals"></stefan-test>

Thanks for your help
Stefan

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.