daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Oct 16th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div ng-repeat="topic in topics">
  2.    <button type="button" onclick="testMe(topic)" value="test"/>
  3. </div>
  4.  
  5. ------------------
  6.  
  7. $scope.testMe = function(topic) {
  8.    alert(topic.name);
  9. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top