How can I make a ractive template with this Javascript object?
<p>I want to access all the property of this object.</p>

<pre><code>var country = {
 country: "US",
 states : [{
    state: "california",
    capital: "sacramento"
    },
    {
    state: "texas"
    capital: "austin"
    }]
};
</code></pre>

<p>I tried the ff but only renders country value.</p>

<pre><code>{{#each country}}
   {{country}}

   {{#each states}}
      {{states.state}} {{states.capital}}
   {{/each}}
{{/each}}
</code></pre>