Switch to angular's isString function