"use strict";
function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var angular = require("angular");
__export(require("./jquery.provider"));
exports.moduleName = 'rl.utilities.services.jquery';
exports.serviceName = 'jqueryUtility';
var JQueryUtility = (function () {
    function JQueryUtility() {
    }
    JQueryUtility.prototype.getHtml = function (jquery) {
        return angular.element('<div>').append(jquery).html();
    };
    JQueryUtility.prototype.replaceContent = function (contentArea, newContent) {
        contentArea.empty();
        return contentArea.append(newContent);
    };
    return JQueryUtility;
}());
angular.module(exports.moduleName, [])
    .service(exports.serviceName, JQueryUtility);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianF1ZXJ5LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJqcXVlcnkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsaUNBQW1DO0FBRW5DLHVDQUFrQztBQUV2QixRQUFBLFVBQVUsR0FBVyw4QkFBOEIsQ0FBQztBQUNwRCxRQUFBLFdBQVcsR0FBVyxlQUFlLENBQUM7QUFPakQ7SUFBQTtJQVNBLENBQUM7SUFSQSwrQkFBTyxHQUFQLFVBQVEsTUFBYztRQUNyQixNQUFNLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUE7SUFDdEQsQ0FBQztJQUVELHNDQUFjLEdBQWQsVUFBZSxXQUFtQixFQUFFLFVBQWtCO1FBQ3JELFdBQVcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNwQixNQUFNLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUN2QyxDQUFDO0lBQ0Ysb0JBQUM7QUFBRCxDQUFDLEFBVEQsSUFTQztBQUVELE9BQU8sQ0FBQyxNQUFNLENBQUMsa0JBQVUsRUFBRSxFQUFFLENBQUM7S0FDNUIsT0FBTyxDQUFDLG1CQUFXLEVBQUUsYUFBYSxDQUFDLENBQUMifQ==