Very unintuitive “Unexpected closing tag” error on a valid template
问题 It's my first day of learning angular and I've encountered a very unintuitive error message, which says: Uncaught Error: Template parse errors: Unexpected closing tag "p". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (" Number {{ i + 1 }}: {{ phoneNumber }} [ERROR ->] "): ng:///AppModule/AddressCardComponent.html@5:0 The error is thrown on a valid html template that