0

I have html templates files in assets folder for angular. In production sprockets digest these files. And I can't reference to them from angular directive.

For example: templateUrl: @template('index.html')

but real file name is index-34857398782634287.html

How to not digest html files?

Igor Babkin
  • 509
  • 2
  • 6
  • 14

1 Answers1

0

Just copy them to /public directory. Asset Pipeline don't process files in this directory.

Maxim
  • 9,701
  • 5
  • 60
  • 108
  • This is not convenient for me because I splitted JS for components. Component folder has directive, controller and view. – Igor Babkin Mar 26 '15 at 14:03