TypeError: Cannot Read Property 'go' Of Undefined
//controller pour connection to API .controller('LoginConnect', ['$scope','connecting','sendtoken','$state', function($scope,connecting,sendtoken,$state){ var token = []; $s
Solution 1:
Remove $state
parameter from connect
function, which is killing the existence of $state
parameter injected in LoginConnect
controller factory function.
$scope.connect = function (users,token) //<--removed $state
Post a Comment for "TypeError: Cannot Read Property 'go' Of Undefined"