Uncaught Error: No module: users Angularjs

后端 未结 1 1101
独厮守ぢ
独厮守ぢ 2021-01-28 02:49

this is a follow up question of this How to fetch index data in Angular using rails server

Question How to correctly upload / link angular module with h

相关标签:
1条回答
  • 2021-01-28 03:22

    You have syntax errors with the following

    return $resource "users/:id", { id: '@id' }, {
        ...
    }
    

    Should be

    return $resource("users/:id", { id: '@id' }, {
        ...
    });
    
    0 讨论(0)
提交回复
热议问题