-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Option to leave comments in templates聽#28814
Copy link
Copy link
Open
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: basic template syntaxfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: basic template syntaxfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
馃殌 feature request
Relevant Package
This feature request is for @angular/coreDescription
Comments are removed in the rendered angular view. We are using another framework alongside angular whose bindings are within the comments. Our whole code base is written using that framework and we cannot afford to stop development to completely migrate all our code to angular. Which is why we want to do it in small iteration.
Stackblitz sample: https://stackblitz.com/edit/angular-zhw3az?file=src%2Fapp%2Fapp.component.ts
Describe the solution you'd like
An option within the Component decorator to leave comments@component({
selector: 'my-app',
templateUrl: './app.component.html',
styleUrls: [ './app.component.css' ],
HTMLComments: true
})
Describe alternatives you've considered
The alternative would be to completely rewrite all our views changing those bindings.