How to remove table row from an updated row in angularjs?
<p>I am binding a table using angularjs I have two tabs on a same page In first tab <strong>New</strong> I am inserting data and in tab list I am getting data which have update and delete functionality.</p>

<p>I am attaching the image.</p>

<p>The problem is when I get the edited data then I have to remove the table row which was on a new tab then inserted edited row. How can I do this?
Here is the image:</p>

<p><a href="https://i.stack.imgur.com/KUIcw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KUIcw.png" alt="enter image description here"></a></p>

<p>Updated row are there:</p>

<p><a href="https://i.stack.imgur.com/b7Rdt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b7Rdt.png" alt="enter image description here"></a></p>

<p>I already getting the data but when I used Push method then It is creating newly created row on new tab.</p>

<p>I short My problem is to remove the first row in new tab and inserted the updated row from list tab to new tab.</p>

<pre><code>$.each(data.privilegeList, function (i, o) {
                $scope.PrivilegeliST.push({
                    PrivilageId: o.privilegeId, PageName: o.pageName, PageUrl: o.pageUrl, CanView: o.canView, CanEdit: o.canEdit, CanDelete: o.canDelete, CanCreate: o.canCreate
                });
                //$scope.PrivilegeliST.push({ PrivilegeId: o.id, OperatorId: 0, PageName: o.pageName, PageUrl: o.pageUrl, CanEdit: false, CanView: false, CanDelete: false, CanCreate: false });
            });
</code></pre>