I just visited this post on SO, here's an excerpt for containment sake:
Ways of formatting an AngularJS directive template
What ways of formatting do you use for formatting templates in AngularJS directives?
This question is meant as an open document to get inspired for cleaner code.
These two methods are probably the most common to most AngularJS developers, any other suggestions or awesome ideas?
***** The ellipsis encapsulates an elaboration on several ways to approach the issue, each with their advantages and disadvantages.
That post felt out of place on SO, but when I flagged the question for closing, I couldn't point out the exact reason, and I ended up ticking the other option and leaving a reason which, in retrospect, felt a little offset:
This question appears to be off-topic because it lacks a real problem, and is more suitable in the library's documentation.
This led me to try and depict precisely why questions like this should be closed, and propose it as an additional reason for closing. Here's a more refined phrasing:
This question appears to be off-topic because it lacks a specific problem, and instead attempts to serve as a reference, or refers to ways of usage, best-practices or differing approaches. Its content is more suitable in a forum, a wiki, or a user-guide for a product, a tool, or a library.
Should this be added to the list of close-reasons?