When i put my iframe it says the following error,
Refused to display 'my url' in a frame because it set 'X-Frame-Options' to 'DENY, DENY'.I am using this iframe for the first time.
<iframe src="myurl"></iframe>
Can anyone please help me about the situation.
My ctrl,
$scope.trustSrc = function(src) {
return $sce.trustAsResourceUrl(src);
}
My html,
<iframe ng-src="{{trustSrc(https://www.w3schools.com)}}"></iframe>