Made changes related to remove functionality.

I was learning mean.js than I made some changes in my project than I realize that it should be also done in public repo.