可能性有两个:
HTML:
JS:
angular.module('myApp') .controller('myController', function($scope) { $scope.myVar = true; // Button will be disabled });
上一篇:AngularJS-MVVM-视图和模型(作用域)绑定的问题
下一篇:AngularJS1.x中是否有类似于jQuery中的$(element).click()实现点击事件的方法?如果有的话,该方法的使用方法是什么?