Why using AngularJS directive in comments

Viewed 615

As you know (probably), AngularJS provides ability to create directives based on comments (M).

But why ?

What is the use case ? Any idea ?

One of my students asked me and I was not able to provide any examples... Thanks in advance !

2 Answers
Related