标签: angularjs
我有$ scope
Object.keys($scope) [... 11 : "clientSelectedRepeat" 12:"countrySelectedRepeat" 13:"initCountry" 14: "getType" ...]
如果我知道变量的名称如何获取$ scope.getType的索引?