tied homepage to angular for adding and removing elements