03
Dec
2014
An angularJs concept about ionic
Since I forget stuff…
It’s worth noting that when a template is rendered, the ng tags are processed at that time.
For example, if you want to use ng-model inside of an ng-repeat:
This does not work:
<input type=“text” ng-model=“settingObject.{{valueName}}”>
But this does:
<input type="text" ng-model="settingObject[valueName]">
This is an important concept because how certain element directives are processed have an impact on the resulting solution.
No Responses to “An angularJs concept about ionic”