Closed david-gang closed 4 years ago
What do you mean exactly?
I mean the ng-for of angular2 https://angular.io/docs/ts/latest/api/core/NgFor-directive.html
I just realized we could probably support this as a template preprocessor. Basically you could write the ng2 style and we'd use regex to convert it to ng1 style. So in output like chrome dev tools it would look like ng1. But you'd still get the benefit of easier migration. @david-gang thoughts?
@timkindberg This would be a good idea. I have a couple of questions: How is this different from the kebab case issue? Also there we could run a regexp? Additionally how can we be sure that we won't break anything. Once we do it wrong the pwerson would not be able to bootstrap his app.
Is ng-for available ? If not would it be possible to create this ?