How-to: Use angular-templatecache with ionic

From project’s directory execute next command in order to install¬†angular-templatecache

Modify your gulpfile.js

Don’t forget to reference ‘templates’ dependency in¬†your www/js/app.js

Don’t forget to reference www/js/dist/templates.js in your index.html file.

Start debugging with

Run next command to rebuild template cache

One thought on “How-to: Use angular-templatecache with ionic”

Leave a Reply

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