[Pages] Test controller

Test controller for WTD-1145.
This commit is contained in:
Victor Woeltjen
2015-04-27 14:58:32 -07:00
parent 012fad6984
commit cab259415d
3 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1,19 @@
/*global define*/
define(
[],
function () {
"use strict";
function EmbeddedPageController($sce) {
return {
trust: function (url) {
return $sce.trustAsResourceUrl(url);
}
};
}
return EmbeddedPageController;
}
);