[SOLVED] Could not resolve 'admin' from state 'login'

Hey guys!

I’ve created a sidemenu, where the user can navigate on the app. The sidemenu it inserted in index.html so every page has it available. But when i’m trying to navigate to a different site, i get an error:

Could not resolve ‘admin’ from state ‘login’.

In my controller.js i’ve listed all the states, which should work, but doesn’t.

$scope.login = function() {
$state.go(‘login’);
};

$scope.admin = function() {
$state.go(‘admin’);
};