Having trouble with loading a file into an iframe.
Here is the code for the iframe:
<iframe width="100%" height="800px" scrolling="no" ng-src="{{someUrl}}"></iframe>
In the controller, I am trying to:
$scope.someUrl = $sce.trustAsResourceUrl($scope.file);
However, it's still not functioning correctly. I'm at a loss as to what could be going wrong. Any assistance would be greatly appreciated.