Angular Create Dynamic Form Array Javascript Methods