autosize 的 angular 版本
bower install ng-autosize
html:
<script type="text/javascript" src="angular.js"></script>
<script type="text/javascript" src="ng-autosize.js"></script>
<textarea ng-autosize></textarea>
js:
var app = angular.module("myModule", ["ngAutosize"]);