标签:
<div ng-include="‘other.html‘"></div>
<div ng-include src="‘other.html‘"></div>
<button ng-click=‘changeStaus($event)‘>点击</button>
$scope.changeStaus=function(event){
angular.element(event.target).html(‘点击改变按钮文字‘);angular.element()方法可以把dom对象转换为jquery对象
}
标签:
原文地址:http://www.cnblogs.com/toward-the-sun/p/4263957.html