Angularjs ng-click: how to get `this` data?

The right solution will be is to pass the id as an parameter to the delete function like <a data-id=’102′ ng-click=’delete(102)’>Delete</a> then $scope.delete = function(id) { console.log(id); // I want to get 102 as the result if (confirm(‘Are you sure to delete?’)) { $(‘#contactsGrid tr[data-id=”‘ + id + ‘”]’).hide(‘slow’); } }; This should not be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)