angular.module('myApp').directive('multiSelectDropdown', function ($sce) {
return {
restrict: 'E',
scope: {
options: '=',
field: '=',
countSelected: '='
},
templateUrl: 'C:\Users\\user\\source\\repos\\WebApplication4\\WebApplication4\\Views\\Home\\multiSelectDropdown.cshtml'
};
});
and this is the error : angular.js:11706 Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. URL: C:Users\user\source\repos\WebApplication4\WebApplication4\Views\Home\multiSelectDropdown.cshtml
does anyone know how to solve it ? sorry I'm still a beginner