title: AngularJS : ng-click not working
body: <p>I am new in AngularJs, ng-click is not working as expected. I searched on the internet , Follow the tutorial , (that was working) - but this is not working!!!</p>
  
  <p>My Code: </p>
  
  <pre><code>&lt;div class="row" ng:repeat="follower in myform.all_followers | partition:2"&gt;
      &lt;ons-col class="views-row" size="50" ng-repeat="data in follower" &gt;
          &lt;img ng-src="http://dealsscanner.com/obaidtnc/plugmug/uploads/{{data.token}}/thumbnail/{{data.Path}}" alt="{{data.fname}}" ng-click="showDetail2(data.token)"/&gt;
          &lt;h3 class="title" ng-click="showDetail2('ss')"&gt;{{data.fname}}&lt;/h3&gt;
      &lt;/ons-col&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here is my controller </p>
  
  <pre><code>//Follows Controller
  app.controller('FollowsController', function($scope, $http) {
      var ukey = window.localStorage.ukey;
  
      $scope.myform ={};
      $scope.myform.reports ="";
      $http.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded";
      var dataObject = "usertoken="+ukey;
      var responsePromise = $http.post(server_url+"follows/", dataObject,{});
      responsePromise.success(function(dataFromServer, status,    headers, config) {
          $scope.myform.all_followers = dataFromServer;
          console.log(dataFromServer);
  
          //alert(dataFromServer);
          $scope.showDetail = function(index) {
              profileusertoken =  index;
              $scope.ons.navigator.pushPage('profile.html'); 
          }
  
          function showDetail2(index) {
              alert("here");
          }
  
          $scope.showDetail2 = showDetail2;
      });
  });
  </code></pre>
  
  <p>Niether showDetail working nor showDetail2
  Please help
  Thanks</p>