@manwithtwowatches Style-wise, this strikes me a tad too "defensive" now, but I'm afraid, I don't have a better suggestion :frowning: 

btw,
http://docs.angularjs.org/api/ng/function/angular.isNumber
http://docs.angularjs.org/api/ng/function/angular.isString