AngularDart (1) Template Cache Generator Transformer


Does anyone have experience with AngularDart (1) template cache generator? I have set it up and it is aggregating the template strings, but they are not being used by the build version. The app is still making http requests to get the html files.

Here’s what I have in pubspec.yaml:

    - angular:
        generate_template_cache: true


Okay, after debugging how AngularDart fetches from the template cache, I realized that I needed leading slashes on all my templateUrl values.

Answered By – Sam B

Answer Checked By – Cary Denson (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *