The ternary operator works in `0.10.0-pre.5` version of Polymer.dart.
Unfortunetly, it doesn't work in the current stable version.

Alternatively, we can create a filter that return the correct click handler in function of the mode:
```Html
<g on-click="{{ country.id ? clickHandler(mode)  }}"
```