Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Views don't update after reload ($templateCache issue?)

$
0
0

@joelcogley wrote:

Hey All,

I recently purchased an ionic template off of themeforest, and while I have it up and running, I can't get any of the views to update after I make changes. However, if I update the code in the templates.js (snippet below), it reloads the changes. Is there a way to either invalidate this cache or remote it altogether?

angular.module("templates", []).run(["$templateCache", function ($templateCache) {
$templateCache.put("walkthrough.html","\n \n

\n
\n \n
\n
\n
\n
\n \n Log In\n \n \n Sign Up\n \n
\n
\n \n\n");
}]);

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles