angular-rails-templates
宝石を使用しています。/app/assets/javascripts
呼び出し先にフォルダーがあり、templates
それをに含めましたapplication.js
:
//= require_tree ./templates
テンプレートの中test.html
に<h1>hello world</h1>
.
何らかの理由で、が見つかりませんが、コンソールで(を使用して)test.html
ログアウトすると、次のようになります。$templateCache.info()
app.run
オブジェクト {id: "テンプレート"、サイズ: 0}