app = angular.module("dithat",["ngRoute","ngResource",'ng-rails-csrf']); app.config(['$routeProvider',function($routeProvider) { $routeProvider. when('/',{ templateUrl: 'app/views/layouts/_user_page.html',controller: 'accomplishmentController' }); }]);
我错过了什么吗?谢谢!