title: Ember JS Enable dropdown only on element which was clicked
body: <p>I am an Ember newbie and can't get my head around how to run events on specific elements populated via records on my ember model.</p>
  
  <p>Here is my Template</p>
  
  <pre><code>{{#each user in model }}
    {{#each activecredit in user.activecredits}}
      &lt;div class="col-lg-2 hive-credit-box active-credit"&gt;
          &lt;div class="credit-brandname"&gt;
              {{activecredit.Brandname}}
          &lt;/div&gt;
          &lt;div class="credit-brand-image-container"&gt;
  
              &lt;img src="http://localhost:3000/{{activecredit.Imglocation}}" class="credit-image"/&gt;
          &lt;/div&gt;
  
          &lt;div class="hive-credit-percent"&gt;&lt;img class="hive-filled-container" src="imgs/hivefilled9.png"/&gt;&lt;/div&gt;
          &lt;div class="hive-credit-dollars"&gt;$xx.xx&lt;/div&gt;
          &lt;div  {{bind-attr class=activecredit.Brandname}} {{action 'enableTrade'}}&gt;&lt;img src="imgs/trade_button.png" class="credit-trade-button"  /&gt;&lt;/div&gt;
          &lt;div class="credit-brand-amount"&gt;
              xx%
          &lt;/div&gt;
  
          &lt;!-- Trade button click dropdown --&gt;
         {{#if isSelected}}
  
          &lt;div class="hivetrade"&gt;
              &lt;div class="arrow_box"&gt;
                  Hi there
              &lt;/div&gt;
              &lt;div class=""&gt;&lt;/div&gt;
          &lt;/div&gt;
          {{/if}}
  
      &lt;/div&gt;
     {{/each}}
    {{/each}}
  </code></pre>
  
  <p>Now I want to show a drop down on each element on click of a button .</p>
  
  <p>When I set the enableTrade action , all dropdowns of all the divs show up.</p>
  
  <pre><code>actions:{
    enableTrade:function(){
        this.set('isSelected',true);
    }
  }
  </code></pre>
  
  <p>How do I enable only the dropdown in the particular div that was created.</p>
  
  <p>I suppose I need to bind certain attributes to each div,but how do I access which div was clicked in my controller?</p>
  
  <p>Any help would be appreciated .
  Thanks</p>