Interpretation et transmission de données entre les vues


#1

Error: Template parse errors:
Unexpected closing tag “ion-input”. 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 ("n-item>
Nom
<ion-input[(ngModel)]=“nom”>[ERROR ->]

"): ng:///AppModule/ContactPage.html@24:34
at syntaxError (http://localhost:8100/build/vendor.js:76421:34)
at DirectiveNormalizer.normalizeLoadedTemplate (http://localhost:8100/build/vendor.js:88238:19)
at DirectiveNormalizer.normalizeTemplateSync (http://localhost:8100/build/vendor.js:88214:21)
at DirectiveNormalizer.normalizeTemplate (http://localhost:8100/build/vendor.js:88188:43)
at CompileMetadataResolver._loadDirectiveMetadata (http://localhost:8100/build/vendor.js:89126:75)
at http://localhost:8100/build/vendor.js:89322:54
at Array.forEach ()
at CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (http://localhost:8100/build/vendor.js:89321:41)
at http://localhost:8100/build/vendor.js:100517:58
at Array.forEach ()


#2

There is a syntax error in your template. Your IDE should indicate where it is.