Hi i have a simple template node that displays different icons depending on its input and if clicked sends an output. How do i get it to send the msg.topic as well as the payload.
<md-button ng-click="send({payload: false})" class="filled rounded" style = "background-color:{{msg.color}}">
<div class="fa {{msg.icon}}" ></div>
</md-button>
the above works ok but i've tried all sorts to send a msg.topic along with the payload, i'm sure it can't be that dificult ?
Thanks Chris