标签: angularjs rewrite
如何将以下内容重写为AngularJS?
var setTableDimensions = function () { $("#tableContainer").width($("#mapImage").width()); $("#tableContainer").height($("#mapImage").height()); } $timeout(function() { setTableDimensions(); }, 2000);