Prevent unnecessary $scope->getType() calls
#5051
Merged
Loading
$scope->getType() calls
#5051