debugging delete nodes ng-show and syncing issues