Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Erik Foppen 20 posts 62 karma points
    Sep 14, 2017 @ 11:18
    Erik Foppen
    0

    Using $sce in back end to load external iframe

    Hi all,

    I'm trying to load an external url in an iframe in the back end. The AngularJS documentation states that I should use $sce for that, something like this:

     $scope.iframeUrl = $sce.trustAsResourceUrl(url);
    

    but $sce is undefined, even if I inject it into the controller.

    I'm on Umbraco 7.5.14.

    Any tips?

    Erik

  • Luc van Soest 6 posts 115 karma points
    Jan 10, 2019 @ 13:36
    Luc van Soest
    0

    OW

Please Sign in or register to post replies

Write your reply to:

Draft