# Show loading in template

**URL:** <https://discuss.emberjs.com/t/show-loading-in-template/2159>\
**Category:** Uncategorized\
**Created:** [August 14, 2013, 9:59pm UTC](https://discuss.emberjs.com/t/show-loading-in-template/2159 "2013-08-14T21:59:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![moger777](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/moger777/32/14722_2.png) [@moger777](https://discuss.emberjs.com/u/moger777)\
**Post date:** [August 14, 2013, 9:59pm UTC](https://discuss.emberjs.com/t/show-loading-in-template/2159/1 "2013-08-14T21:59:05Z")

</div>

Hey, I used to do something along the lines of

```handlebars
{{#if controller.isLoaded}}
done
{{else}}
Loading..
{{end}}

```

in a resource but now it seems to block until the model hook promise object has been resolved. What is the proper way of checking if a model is fully loaded?

---

<div class="post-metadata">

**Author:** ![moger777](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/moger777/32/14722_2.png) [@moger777](https://discuss.emberjs.com/u/moger777)\
**Post date:** [August 14, 2013, 10:09pm UTC](https://discuss.emberjs.com/t/show-loading-in-template/2159/2 "2013-08-14T22:09:16Z")

</div>

Just a bit more info, this works if I got from route a, to route b and route b takes a long time to load. If I reload the page from route b, the whole template is blocked till the model is resolved.

---

<div class="post-metadata">

**Author:** ![kklisura](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/kklisura/32/14924_2.png) [@kklisura](https://discuss.emberjs.com/u/kklisura)\
**Post date:** [August 14, 2013, 10:56pm UTC](https://discuss.emberjs.com/t/show-loading-in-template/2159/3 "2013-08-14T22:56:18Z")

</div>

You can use LoadingRoute, I think it shows loading template even when You refresh the whole page. Hope this helps: [handlebars.js - Is the "loading" template special in Ember.js? - Stack Overflow](http://stackoverflow.com/questions/17545251/is-the-loading-template-special-in-ember-js)
