title: Angular passing parameter to a function
body: <p>when i am passing the a parameter to the getActiveId function in the ng-click </p>
  
  <pre><code>&lt;span class="col ion-ios7-heart-outline center" ng- click="getActiveId({{activeSlide.selected}})"&gt;
  </code></pre>
  
  <p>it's value become zero in the controller and it's passed in the right value after testing it by the inspect element </p>
  
  <pre><code>&lt;span class="col ion-ios7-heart-outline center ng-binding" ng-click="getActiveId(1)"&gt; 1:&lt;/span&gt;
  </code></pre>