Angular Loop Through Array Javascript Appendchild Not Working