Lets say I have this in my view:
<ul>
<li>
<p>Result 1</p>
<a>Delete Result 1</a>
</li>
<li>
<p>Result 2</p>
<a>Delete Result 2</a>
</li>
<li>
<p>Result 3</p>
<a>Delete Result 3</a>
</li>
</ul>
And onclick I want to call an ajax function and pass it a parameter and upon success, delete that row.
I know how to do this with some lengthy jquery, but I am in the process of learning Angular.