0

I am trying to implement Angular Js in Rails Project, I am following this tutorial http://angular-rails.com/bootstrap.html, after going through all of the steps I am getting this error:

enter image description here

I have searched the web about this but didn't get enough info, somewhere it was mentioned that it is due to node.js, but I have already installed node.js on my system.

halfer
  • 19,824
  • 17
  • 99
  • 186
Amrinder Singh
  • 5,300
  • 12
  • 46
  • 88

2 Answers2

0

So finally i found the solution.

problem was with my coffee script, there was a missing parenthesis,

controllers = angular.module('controllers',[])
controllers.controller("RecipesController", [ '$scope',
  ($scope)->
]

")" was missing in the above script.

thanks for the reference.

Community
  • 1
  • 1
Amrinder Singh
  • 5,300
  • 12
  • 46
  • 88
-2

Add gem 'therubyracer'

then, execute bundle install

Chakreshwar Sharma
  • 2,571
  • 1
  • 11
  • 35