0
私のアプリの他のコンポーネントにAuthDetailsサービスを注入することができましたが、アプリケーションのメインコントローラにAuthDetailsサービスを注入できませんでした。それは言う:キャッチされないにReferenceError:AuthDetails私はanglejsのメインコントローラにサービスを注入するには?
var MPlayApp = angular.module('MPlayApp', [
// ...which depends on the MPlayApp module
'player',
'core',
'userMenu',
'home',
'songUpload',
'loginSignUp',
'details',
'angularSoundManager',
'angularFileUpload',
'ngAnimate',
'rx',
'ui.router',
'core.auth'
]);
AuthDetailsサービスがcore.authモジュール
'MPlayApp .controller( 'MainCtrl'、['AuthDetails'、 関数(AuthDetails){' – Satpal