There's some good meta discussion about answers specific to a version of a tool, and the consensus was that they can and are very valuable to a reasonable section of users who are required to use those versions still in the workplace. Many people are still on specific older versions of Angular due to major architectural differences between some versions. It's very rare that an answer is truly outdated if it's merely version specific, because there's plenty of cases where people are stuck with those older versions. The only case where an answer is truly outdated is where it became known to be insecure or a generally bad practice, which is a different issue than it being an answer specific to an older version.
It's good to take into consideration the context of the question, and whether that question is version specific.
Don't make destructive edits to good answers that are still good answers for a specific version.
If anything, edit to clarify what version the answer applies to.
If the question is generic enough that it might be found by users of a newer version, and you want to add to your answer a solution specific to a newer version, you could consider doing so with a section for the newer version.
However, I feel like in this case the title "Angular 2" in the question is going to wave off anyone using a newer version. They are less likely to wade through the answers that might be version 2 specific in the hopes that someone essentially provided an off-topic answer for version 6.
https://meta.stackexchange.com/a/11706/143774