Closed AzrizHaziq closed 7 years ago
So so sorry, it happen that i miss my inject modules.
Before:
angular
.module('app.auth')
.controller('AuthController', AuthController);
AuthController.$inject = [
'$scope',
'$state',
'ionicToast',
'$cordovaOauth',
'$q'
];
function AuthController($scope, $state, $cordovaOauth,$q){ ... }
After:
angular
.module('app.auth')
.controller('AuthController', AuthController);
AuthController.$inject = [
'$scope',
'$state',
'ionicToast',
'$cordovaOauth',
'$q'
];
function AuthController($scope, $state, ionicToast, $cordovaOauth,$q){ ... }
Im using Ionic 1 with angular, I don't know why Facebook method is undefined
here my piece of code
I already have inject the
'$cordovaOauth'``, and include the
'ngCordovaOauth'``` in moduleand when i try to
console.log($cordovaOauth);
the output is below.where goes all the google, facebook, etc method?
Thank you (edit: update styling)