Prevent watch on totalPages from clobbering non-first page initialization

Fix for https://github.com/angular-ui/bootstrap/issues/2108