Hi Mark, Because HTML5 does NOT allow '/>'!. This is not valid syntax!
HTML5 !== XHTML. What happens is that your browser does ignore the slash, so your tag stays open. As you don't close your tag, AngularJS doesn't come in action. When you use it as an attribute, AngularJS gets called via another mechanism. If you want to know more about this, google around for it <https://www.google.nl/search?q=html5+closing+tags&oq=html5+closin&aqs=chrome.1.69i57j0l5.9244j0j7&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8> ;) Regards Sander Elias -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
