app = angular.module(\"dithat\", [\"ngRoute\", \"ngResource\", \'ng-rails-csrf\']); app.config([\'$routeProvider\', function($routeProvider) { $routeProvider.
Add angular-route into application.js like
angular-route
in /app/assets/javascripts/application.js
//= require angular //= require angular-resource //= require angular-route