我正在使用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}