[Pages] Move page plugin into platform
Move Page plugin from prototype location into platform, WTD-1145.
This commit is contained in:
19
platform/features/pages/src/IFrameController.js
Normal file
19
platform/features/pages/src/IFrameController.js
Normal file
@@ -0,0 +1,19 @@
|
||||
/*global define*/
|
||||
|
||||
define(
|
||||
[],
|
||||
function () {
|
||||
"use strict";
|
||||
|
||||
function Controller($sce) {
|
||||
return {
|
||||
trust: function (url) {
|
||||
return $sce.trustAsResourceUrl(url);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return Controller;
|
||||
}
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user