/// <summary> /// This function determines the format of the contents of the entry /// point where the dynamic code will be injected. /// </summary> /// <returns></returns> public static object dynMehTemplate() { var span = new SpanElement(); span.SetNGController("hwbctl"); span.InnerHTML = "AJS says by directive: [{{message}}]"; return(new { template = span.OuterHTML }); }
public static object ThreeWayFunction() { var span = new SpanElement(); span.SetNGController("hwbSctl"); span.InnerHTML = "AJS for three scopined: " + "[msg:{{message}}][foo:{{foo}}][bar:{{bar}}]"; return(new { template = span.OuterHTML }); }