The problem is that rails asset pipeline will minify your javascript and rename variable names. So you need to pass arguments as strings in the array:
@App = angular.module("App", ['ui', 'ngCookies', 'ngResource']).config(["$routeProvider", ($routeProvider) ->
The problem is that rails asset pipeline will minify your javascript and rename variable names. So you need to pass arguments as strings in the array:
@App = angular.module("App", ['ui', 'ngCookies', 'ngResource']).config(["$routeProvider", ($routeProvider) ->