Ion Nav Title broken on 0.13?

Just take

http://codepen.io/anon/pen/azbWPz

I just changed from Nightly to 1.0.0-beta.13

Change everywhere that you have “view-title” to “title”. View-title is only in the nightly builds.

Finally I managed to duplicate the error on codepen:

http://codepen.io/sidfz/pen/NPWwde

As you see in the JS, I have this code:

angular.module('ionicApp.controllers', [])
    .controller('HomeCtrl', function ($scope) {

    }
);

angular.module('ionicApp.controllers', [])
.controller('ListCtrl', function($scope, $ionicNavBarDelegate) {
  $scope.goBack = function() {
    $ionicNavBarDelegate.back();
  };
  $scope.items = [{title: "Item #" + 1, uuid: 1},{title: "Item #" + 2, uuid: 2}];
});

I have this structure cause Im using concat/uglify. The problem is that cause I call this way, Home’s title doesn’t show up. But if I go to list and come back, it show up, with the wrong text.

What I did wrong?

I got an error in the console on your codepen:

Error: [ng:areq] Argument 'HomeCtrl' is not a function, got undefined

I think the issue is you are defining the angular module twice. Changing the code to this fixes it:

angular.module('ionicApp.controllers', [])
    .controller('HomeCtrl', function ($scope) {

    })
    .controller('ListCtrl', function($scope, $ionicNavBarDelegate) {
         $scope.goBack = function() {
             $ionicNavBarDelegate.back();
         };
         $scope.items = [{title: "Item #" + 1, uuid: 1},{title: "Item #" + 2, uuid: 2}];
    });