איך אפשר להשוות אם "string === string" בתבנית?

You want to use Computed Properties - The Object Model - Ember Guides

Look at the Discourse source code for their particular code style though.