Plunker: <select ng-options="s for s in selects" ng-model="el" common-things></select>在这里,ng-model (el)总是具有相同的值,无论我从select中选择什么选项
同样的问题是,如果我在指令中有独立的作用域,例如:<inpu
给出以下示例:我希望在getter方法中获得调用组件foo的id,这样我就可以通过键foo.length从属性文件中返回大小。 String componentId = "foo"; // Hardcoded, but I should be able to get the id somehow
int size = variableConfig.getSizeFor(c