I am searching for a solution to catch the attention if an element is added and then removed from the DOM. When the element is removed, I want to retrieve the ng-model value of that specific element.
For instance:
<div notify-when-removed ng-model="someTitle"></div>
<a ng-click="removeTheAboveDiv()"></a>
My goal is to access the value of "someTitle".