Hi Mehdi, Actually, you are providing a template, not HTML. Angular compiles that down to JS, and then the JS is used in the browser to create the DOM tree your application needs. Ask anyone that has done a medium to large jQuery application, why adding everything imperative (using a simple line of code..) is a bad idea. It does work, but it is really hard to maintain. When doing that, you are creating a very tight coupling between your template(pure HTML in that case) and your code.
Look at the template part as what it is, a template that will render the final result in your browser. It's not really HTML at all anymore anyway now ;) Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
