Rails s is giving couldn't find file 'angular/angular' error.
KranthiKishore opened this issue · 3 comments
KranthiKishore commented
Hi,
After starting the server am getting ouldn't find file 'angular/angular' from application.js.
How can i solve this?
sectore commented
Have you had installed Angular by bower? If not, just run bower install
.
KranthiKishore commented
Thanks alot that worked for me!
SanjayYadav90 commented
hi @sectore ,
i did all the above, but that issue won't get resolved.
finally i make changes in -
app/view/layouts/application.html.erb
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
and make it as
<%= javascript_include_tag 'default', 'data-turbolinks-track' => true %>
then only it got resolved.
Suggest me the best way?