<form class="ui form" id="indexForm" name="indexForm" onsubmit="return false;">
<span id="QuacorGradingValue" ng-model="fen" name="fen">6</span>
</form>
在controller里面为啥获取不到
var updateData = {};
alert("$scope.rates==="+$scope.fen);//undefined
//$scope是有值的
controller:
http://stackoverflow.com/questions/19981627/setting-scope-property-with-ng-init-doesnt-work
假设你的
controller
是这样的: