Problem while updating localstorage variable in abstract controller


#1

i am having an problem while displaying the localstorage value in the abstract controller. the control are not comming into the abstract true sidebar controller.

.controller(‘RootCtrl’,[’$scope’,’$localStorage’,’$ionicLoading’,’$timeout’,‘ngFB’, function($scope,$localStorage, $ionicLoading, $timeout,ngFB){
//$state.transitionTo($state.current, $stateParams, { reload: true, inherit: false, notify: true });
if($localStorage.fb_login)
{
alert(“not good”);
}
else
{
//alert(“good”);
$scope.logged_name = $localStorage.logged_first_name;
}

how can i get rid from it.?