I have 2 controllers, ItemController
and AuthenticationController
.
AuthenticationController
is injected into ItemController
ItemModule.controller('ItemController', function ($scope, AuthenticationController)
I am now trying to call the isLoggedIn()
function in AuthenticationController
from the template.
How can I do that?