$ 0 0 When you pass a Deferred in the can.view data it will wait until it resolves and use the result:can.view('view.mustache', { def: def() });<header>{{def}}</header>