title: Check if array has a particular index in AngularJs
body: <p>In AngularJS expressions, how can I check if an array has value in a particular index or not? Consider the following example</p>
  
  <pre><code>$scope.arr =['one','two','three'];
  </code></pre>
  
  <p>In HTML.</p>
  
  <pre><code>&lt;p ng-show="arr[3]!=''"&gt;{{arr[3]}}&lt;/p&gt;
  </code></pre>