Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need caching turned off for future beta version builds #2

Open
ssareli opened this issue Dec 29, 2014 · 1 comment
Open

need caching turned off for future beta version builds #2

ssareli opened this issue Dec 29, 2014 · 1 comment

Comments

@ssareli
Copy link

ssareli commented Dec 29, 2014

Great demo! However, there's an issue in leveraging this example going forward.

I was testing out your app but when I tried to assemble it piece by piece my version wouldn't read from Parse without a webpage reload. I finally figured out that they added caching in beta 14. When I added cache: false to the todos.html controller it fixed.

@bennett-elder
Copy link

Agreed. I had to add "cache: false," to this section or the list on the main screen wouldn't refresh.
$stateProvider.state('todos',{
cache: false,
url:'/todos',
controller:'TodoListController',
templateUrl:'views/todos.html'
})

bennett-elder added a commit to bennett-elder/ionic-parse-todo-app that referenced this issue Jun 25, 2015
Disabled caching on root view so that the list refreshes when you add an item.
bennett-elder added a commit to bennett-elder/ionic-parse-todo-app that referenced this issue Jun 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants