如何获取$ scope.variable的索引?

时间:2017-03-29 14:55:52

标签: angularjs

我有$ scope

Object.keys($scope)

[...
11 : "clientSelectedRepeat"
12:"countrySelectedRepeat"
13:"initCountry"
14: "getType"
...]

如果我知道变量的名称如何获取$ scope.getType的索引?

0 个答案:

没有答案