Question: I just upgraded angularjs 
from angularjs 1.2.9 to angularjs 1.2.19
and
angularjs bootstrap version .7 upgraded to .11

I am now getting an that I am not sure about.

here is the error:

> 
> TypeError: ngModelCtrl.$render is not a function
> 
> 
> 

The `$render` error appears to be due to a line in ui-bootstrap-0.11 on line 2201.

```
  $scope.$watch('totalPages', function(value) {
    setNumPages($scope.$parent, value); // Readonly variable

    if ( $scope.page > value ) {
      $scope.selectPage(value);
    } else {
      ngModelCtrl.$render();
    }
  });
}])

```

this has got to be a bug due to my upgrade...anyone have any advice on how I should handle this?

THanks,

dave

Answer: 
In a similar case, I replaced page attribute with ng-model on pagination directive, that fixed my issue. Can you try that too?
I changed Directive Name 'pagination' to diffrentName. Then problem was solved.