updating to use the correct transclude function, as the one passed into
to compile() is deprecated