https://cattowerbestcheapprice.blogspot.com/2024/03/angular-splice-function-always-removes.html
Angular - Splice Function Always Removes Last Element