[ { "id": "85efffdc.4b103", "type": "tab", "label": "Flow 1" }, { "id": "837de134.cda2d", "type": "ui_template", "z": "85efffdc.4b103", "group": "316d2e20.977372", "name": "", "order": 0, "width": 0, "height": 0, "format": "<div ng-bind-html=\"msg.payload\"></div>", "storeOutMessages": true, "fwdInMessages": true, "templateScope": "local", "x": 540, "y": 100, "wires": [ [] ] }, { "id": "c1094e82.72368", "type": "debug", "z": "85efffdc.4b103", "name": "", "active": true, "console": "false", "complete": "true", "x": 530, "y": 60, "wires": [] }, { "id": "d3048f3b.84309", "type": "change", "z": "85efffdc.4b103", "name": "", "rules": [ { "t": "set", "p": "template", "pt": "msg", "to": "Hello World!", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 350, "y": 100, "wires": [ [ "c1094e82.72368", "837de134.cda2d" ] ] }, { "id": "7ddd2a9c.3e6624", "type": "inject", "z": "85efffdc.4b103", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": true, "x": 150, "y": 100, "wires": [ [ "d3048f3b.84309" ] ] }, { "id": "316d2e20.977372", "type": "ui_group", "z": "", "name": "Default", "tab": "8cc5dd23.8e607", "disp": true, "width": "6" }, { "id": "8cc5dd23.8e607", "type": "ui_tab", "z": "", "name": "Home", "icon": "dashboard" }][ { "id": "3d11a301.bef2cc", "type": "ui_template", "z": "844eafe9.3e3", "group": "f110f346.6c1d3", "name": "", "order": 0, "width": "6", "height": "5", "format": "<div ng-bind-html=\"msg.payload\"></div>", "storeOutMessages": true, "fwdInMessages": true, "templateScope": "local", "x": 600, "y": 160, "wires": [ [] ] }, { "id": "272f4cd4.940764", "type": "debug", "z": "844eafe9.3e3", "name": "", "active": true, "console": "false", "complete": "true", "x": 590, "y": 100, "wires": [] }, { "id": "64ec2576.2c913c", "type": "inject", "z": "844eafe9.3e3", "name": "initialize", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": true, "x": 140, "y": 100, "wires": [ [ "5713a1f.278a96" ] ] }, { "id": "f578ef68.a185c", "type": "inject", "z": "844eafe9.3e3", "name": "ping", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "x": 130, "y": 160, "wires": [ [ "3d11a301.bef2cc", "272f4cd4.940764" ] ] }, { "id": "5713a1f.278a96", "type": "function", "z": "844eafe9.3e3", "name": "set msg.template", "func": "return { template:\n'<div>Hello, the msg is:</div>'+\n'<div>{{msg}}</div>'+\n'<script> (function(scope) {'+\n' scope.$watch(\"msg\", function(msg) {'+\n' msg.payload = \"I got: \" + msg.payload;'+\n' })})(scope)'+\n'</script>'\n};\n", "outputs": 1, "noerr": 0, "x": 350, "y": 100, "wires": [ [ "272f4cd4.940764", "3d11a301.bef2cc" ] ] }, { "id": "f110f346.6c1d3", "type": "ui_group", "z": "", "name": "Default", "tab": "b1f352ad.5f4f1", "disp": true, "width": "6" }, { "id": "b1f352ad.5f4f1", "type": "ui_tab", "z": "", "name": "Home", "icon": "dashboard" }]