check to make sure ng-bing values are not null or undefined before calling toString