<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是有值的
pengawal:
http://stackoverflow.com/questions/19981627/setting-scope-property-with-ng-init-doesnt-work
Andaikan
controller
anda kelihatan seperti ini: