angularjs ng-model, ng-value,类似jinja
html里写 ng-model="mobile" ng-value="value" js中获取 $scope.mobile $scope.value = "innerHtml" {{}}类似python的jinja语法. 直接scope获取.
- 346
- 0
- 阅读全文
html里写 ng-model="mobile" ng-value="value" js中获取 $scope.mobile $scope.value = "innerHtml" {{}}类似python的jinja语法. 直接scope获取.