angular.isDefined
ng
判断值是否定义了。
angular.isDefined(value)
*
boolean 如果 value 定义了返回 true
boolean
value
true