No problem. I'm just getting into Angular so these problems are fun! You could change this:
$scope.currentTab = $scope.tabs[0]; $scope.currentTitle = $scope.tabs[0].title; $scope.onClickTab = function(tab) { $scope.currentTab = tab; $scope.currentTitle = tab.title; }; To this: $scope.onClickTab = function(tab) { $scope.currentTab = tab; }; $scope.onClickTab($scope.tabs[0]); $scope.currentTitle doesn't seem to be used and you can just call onClickTab, passing the first tab, to set the defaults. Adrian On 21 October 2014 16:24, Bogdan Ionescu <bogdani...@gmail.com> wrote: > That mean was typing problem: not binding problem .... > >> >> -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to angular+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.