Skip to content

Conditional template logic in index.html for beta.11-webpack #1544

@onedotover

Description

@onedotover

Version 1.0.0-beta.11-webpack

Issue Handlebar template processing removed?

Detail
As noted in the https://github.com/angular/angular-cli/blob/master/WEBPACK_UPDATE.md document, the handlebar template logic was removed from index.html. It looks like there is no longer support for conditional logic in the index.html file using handlebars. Is that correct?

Including something like {{#if environment.production}} Only show in production build. {{/if}} the template is not processed. Has this feature been removed (or will it be)? I think this is an incredibly useful feature for including things like Google Analytics, Facebook, etc with API keys.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions