0
私のアプリで角をつけて認証をしようとしています。 私はapp.serviceを作成し、 "Restangular"を注入しました。
app.service('AuthService', function($cookies, $http, Restangular) {
/**/
});
:と私は、これはのAuthServiceある
var app = angular.module('cadastral', ["ngRoute","ngResource",'ngCookies',"Restangular"]);
app.controller('authCtrl', function($scope,$http,$routeParams,AuthService,$cookies){
/**/
});
私は私のhtmlページ内のすべてのファイル
script src="/app/app/core/js/angular.js" type="text/javascript"
scrip src="/app/app/core/js/angular-resource.js" type="text/javascript"
script src="/app/app/core/js/angular-route.js" type="text/javascript"
script src="/app/app/core/js/restangular.js" type="text/javascript"
を含ま
Error: $injector:modulerr Module Error Failed to instantiate module cadastral due to:
Error: $injector:modulerr Module Error Failed to instantiate module Restangular due to:
Error: $injector:nomod Module Unavailable Module 'Restangular' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
これは私のアプリのコードであるAntのこのエラーを持っています
誰かが私を助けることができますか? 何が問題なのですか?
あなたはrestangularモジュールを取り外し、角度はもうそれを見つけることができませんなぜあなたは混乱していますか? –
フルエラートレースも役に立ちます – arieljuod
完全エラートレースを追加しました – Anwin