title: How to access Javascript object in HTML using angular js?
body: <p>i have a JS object like this:</p>
  
  <pre><code>var some_object = {
      "1":{"name":"test","type_name":"test_type"},
      "2":{"name":"test2","type_name":"test_type2"}
  };
  </code></pre>
  
  <p>currently am try to access value of <code>'type_name'</code> at <code>index 1</code> in html like this:</p>
  
  <pre><code>&lt;label&gt;&lt;span&gt;{{ some_object[1]['type_name'] }} &lt;/span&gt;&lt;/label&gt;
  </code></pre>
  
  <p>but it gives me error. can anyone help that how to access it in html using angular?</p>