# Button size using template node

**URL:** <https://discourse.nodered.org/t/button-size-using-template-node/4008>\
**Category:** Dashboard\
**Created:** [15 October 2018 21:02 UTC](https://discourse.nodered.org/t/button-size-using-template-node/4008 "2018-10-15T21:02:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [3 November 2018 18:29 UTC](https://discourse.nodered.org/t/button-size-using-template-node/4008/7 "2018-11-03T18:29:59Z")

</div>

> [@cpaolojo](#):
>
> ng-if="msg.payload == '1'"

The javascript `==` operator _should_ return true when comparing the number 1 to the string '1' -- but perhaps the `ng-if` **expression** evaluator does something slightly different... did you try removing the single quotes from the `ng-if` test? If so, did that make a difference? The other thing to try is to wrap the expression in curly braces (sorry, but i can't remember the syntax.. i always have to look it up).

For more information about what makes a valid angular "expression" and where you can use them, check out the [Angular v1 docs](https://docs.angularjs.org/guide/expression) site.

---

_[View the full topic](https://discourse.nodered.org/t/button-size-using-template-node/4008)._
