<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[include html in custom page]]></title><description><![CDATA[<p dir="auto">This has been addressed, but obliquely... what we are trying to accomplish is, in our designer page, have ma container, object point gets, and then include the main body html from a file:</p>
<pre><code>&lt;div class="ma-designer-root" id="6d41eb7c-475e-48df-9132-056d861a617d" style="width: 1366px; height: 768px; position: relative;"&gt;
    &lt;div ng-init="page = {}"&gt;&lt;/div&gt;

    &lt;ma-watch-list-get ng-model="indicatorWl.watchlist" parameters="indicatorWl.parameters" on-points-change="page.points = $points" id="wl-indicator-id" watch-list-xid="WL_Indicator"&gt;
    &lt;/ma-watch-list-get&gt;

    &lt;ma-get-point-value points="page.points"&gt;&lt;/ma-get-point-value&gt;
    //path to hmi.html here:
    &lt;ng-include src="'./hmi.html'"&gt;&lt;/nginclude&gt;
&lt;div&gt;
</code></pre>
<p dir="auto">Our "hmi.html" file is in /overrides/web/modules/mangoUI/web/dev, along with our userModule.js and customCSS.css files.</p>
<p dir="auto">any thoughts on how to set up ng-include here? (other than route provider...) - or do I need to use a component for this?</p>
<p dir="auto">-This so we can edit outside of ace editor...</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.mango-os.com/topic/4651/include-html-in-custom-page</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 14:18:08 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4651.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Dec 2019 20:33:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to include html in custom page on Thu, 26 Dec 2019 19:00:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a> - posted issue in Mango Feedback, should you have any thoughts.</p>
]]></description><link>https://forum.mango-os.com/post/24395</link><guid isPermaLink="true">https://forum.mango-os.com/post/24395</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Thu, 26 Dec 2019 19:00:46 GMT</pubDate></item><item><title><![CDATA[Reply to include html in custom page on Thu, 26 Dec 2019 17:50:11 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/mattfox" aria-label="Profile: MattFox">@<bdi>MattFox</bdi></a>. I attempted that, I think - but now have a situation where no text shows in ace or json store editor... css is right, but not sure what's going on here. Even upgraded to 3.7.4... when I sort that out I'll try your fix.</p>
]]></description><link>https://forum.mango-os.com/post/24393</link><guid isPermaLink="true">https://forum.mango-os.com/post/24393</guid><dc:creator><![CDATA[BobDay]]></dc:creator><pubDate>Thu, 26 Dec 2019 17:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to include html in custom page on Thu, 26 Dec 2019 06:56:17 GMT]]></title><description><![CDATA[<p dir="auto">At first glance, set your ng-include source to use the full path otherwise it won't render full stop:</p>
<pre><code>/modules/mangoUI/web/dev/hmi.html
</code></pre>
<p dir="auto">because using</p>
<pre><code>'./hmi.html'
</code></pre>
<p dir="auto">Will look up that file in the same point as your url, which is incorrect:</p>
<pre><code>https://mangoDomani.com/ui/watchlist-page

-&gt;

https://mangoDomani.com/ui/watchlist-page/hmi.html &lt;!-- NOT CORRECT LOCATION --&gt;


``</code></pre>
]]></description><link>https://forum.mango-os.com/post/24391</link><guid isPermaLink="true">https://forum.mango-os.com/post/24391</guid><dc:creator><![CDATA[MattFox]]></dc:creator><pubDate>Thu, 26 Dec 2019 06:56:17 GMT</pubDate></item></channel></rss>