From 718cbc55d4f3dbff6c404e35cd9a3639ef90f400 Mon Sep 17 00:00:00 2001 From: bennett-elder Date: Wed, 24 Jun 2015 22:06:02 -0400 Subject: [PATCH] Patch for issue #2 on htmlxprs version Disabled caching on root view so that the list refreshes when you add an item. --- www/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/js/app.js b/www/js/app.js index 2747fc5..6e941f3 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -19,6 +19,7 @@ angular.module('todoApp', ['ionic','todoApp.controllers','todoApp.services']) }); }).config(function($stateProvider){ $stateProvider.state('todos',{ + cache: false, url:'/todos', controller:'TodoListController', templateUrl:'views/todos.html'