Problem while updating localstorage variable in abstract controller


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 });
alert(“not good”);
$scope.logged_name = $localStorage.logged_first_name;

how can i get rid from it.?