<form class="ui form" id="indexForm" name="indexForm" onsubmit="return false;">
<span id="QuacorGradingValue" ng-model="fen" name="fen">6</span>
</form>
Why can’t I get it in the controller
var updateData = {};
alert("$scope.rates==="+$scope.fen);//undefined
//$scope is valuable
controller:
http://stackoverflow.com/questions/19981627/setting-scope-property-with-ng-init-doesnt-work
Suppose your
controller
looks like this: