javascript - Reload entire ember app -
i have ember app little part of larger app. beingness displayed within div , surrounded html layout created in rails.
i able reload ember app default index route , reload info in callback in javascript outside ember. finding tough do. know within , ember controller can refresh , reload model how do when in context of js run outside ember.
i need able like:
app.locationscontroller.reload()
but unfortunately such function doesn't exist. i cant figure out how "inside" ember controller. illustration console in chrome how within controller , reload info (all locations)? can app.router.router.refresh() doesnt reload data.
javascript ember.js
No comments:
Post a Comment