<?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[TEMPLATE NODES]]></title><description><![CDATA[<p dir="auto">Hello, I am trying to create my first template. I have a data set that I am trying to display on a web page. The data is coming through on msg.data. I've tried using ng-repeat and scripting to get this into my template but it doesn't display anything.</p>
<p dir="auto">here's the snippet of my template:<br />
&lt;div layout="row" layout-align="start center" ng-repeat="obj in {{data}} track by $index"&gt;<br />
&lt;span&gt;{{obj.value}}&lt;/span&gt;<br />
&lt;/div&gt;</p>
<p dir="auto">I am seeing the object array when I am looking at the elements, however, ng-repeat doesn't seem to be working. Is there something that I am missing here?</p>
<p dir="auto">I've also tried this:<br />
&lt;div layout="row" layout-align="start center" ng-repeat="obj in msg.data track by $index"&gt;<br />
&lt;span&gt;{{obj.value}}&lt;/span&gt;<br />
&lt;/div&gt;</p>
<p dir="auto">My data object is simple, array of objects like this:<br />
object:{<br />
date: "2312345123",<br />
value: "23.12",<br />
}</p>
<p dir="auto">I need help...I've got problems.</p>
]]></description><link>https://forum.mysensors.org/topic/8866/template-nodes</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 07:01:36 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/8866.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Jan 2018 15:53:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TEMPLATE NODES on Thu, 11 Jan 2018 16:00:29 GMT]]></title><description><![CDATA[<p dir="auto">This doesn't even work:<br />
&lt;div ng-repeat="n in [42, 42, 43, 43] track by $index"&gt;<br />
{{n}}<br />
&lt;/div&gt;</p>
]]></description><link>https://forum.mysensors.org/post/83579</link><guid isPermaLink="true">https://forum.mysensors.org/post/83579</guid><dc:creator><![CDATA[neech]]></dc:creator><pubDate>Thu, 11 Jan 2018 16:00:29 GMT</pubDate></item></channel></rss>