Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails s is giving couldn't find file 'angular/angular' error. #8

Closed
KranthiKishore opened this issue Feb 20, 2015 · 2 comments
Closed
Labels

Comments

@KranthiKishore
Copy link

Hi,
After starting the server am getting ouldn't find file 'angular/angular' from application.js.
How can i solve this?

@sectore
Copy link
Owner

sectore commented Feb 21, 2015

Have you had installed Angular by bower? If not, just run bower install.

@KranthiKishore
Copy link
Author

Thanks alot that worked for me!

@SanjayYadav90
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants