Cant see my template after navigat via tab

I am setting the scope with data but all the time getting empty screen. tried to use some $scope.$apply but it isn’t helping. I can see the scope.items isn’t empty… I can see values only one I click on other tabs.

my code:

  .controller('AccountCtrl', function ($scope, $timeout) {
        if (localStorage.getItem("itemHistory") !== null) {
            $scope.items = localStorage["itemHistory"].split(',');

tab that navigate to template

  <!-- Dashboard Tab -->
    <ion-tab title="History" icon-off="ion-ios-pulse" icon-on="ion-ios-pulse-strong" href="/tab/account">
        <ion-nav-view name="tab-account"></ion-nav-view>

my temp:

<ion-view view-title="Recent Searches">
    <ion-content class="padding">
            <li ng-repeat="item in items">
                {{ item }}</li>

thanks for helping!

Can you make working example out of your code?

Read this forum post: