How to use slim models with backbone?


How to use slim templates with backbone?

I use in my ruby-on-rails application backbone-on-rails gem that uses eco templates. But in my project I user slim templates engine and of course I want to use just one template type. But how I can switch to slim in backbone?

Gem backbone-rails from codebrew offers erb and haml, so I think I can use slim too. But how?

Fat-free client-side templates with Slim and CoffeeScript: