title: Attaching click events to Ionic list elements (using Angular.Js)
body: <p>I have an Ionic list in my app and im populating it dynamically with   elements. Im trying also to attach a tap/click listener that will just alert the DOM list element.
  Im trying to avoid using jQuery and do it just by angular. I tried the following and i dont understand why the click functions dont fire.</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;ul class="list"&gt;
      &lt;li class="item" data-ng-repeat="c in contacts()" data-ng-click="selectedElem(selection)"&gt;
          {{ c.displayName }}
       &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>The relevant controller code:</p>
  
  <pre><code>$scope.selectedElem = function(selection){
      alert(selection);
  };
  </code></pre>