-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
I have the following file structure
assets
- javascripts
- angular
- test
- user.component.js
- templates
- test.html
In my user.component.js file, I have
templateUrl: 'test.html'
When I load the page, I receive the following error:
Error: [$compile:tpload] Failed to load template: templates/test.html (HTTP status: 404 Not Found)
I have user.component.js loaded and running on a HTML page. If I replace templateUrl with template: '<h1>Hello</h1>' then everything works just fine.
I have the following relevant gems:
- Rails 4.2.6
- Sprockets 3.6
- Angular Rails Template 1.0.2
What's wrong and how do I fix this?
Metadata
Metadata
Assignees
Labels
No labels