前端:
<form class="form-horizontal tasi-form" method="post">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()">×</button>
<h4 class="modal-title">{
{formTitle.title}}</h4>
</div>
<div class="modal-body">
<input type="file" id="file" name="file" class="btn btn-warning pull-left" ng-src={
{files[0].name}} οnchange='angular.element(this).scope().fileChanged(this)' />
</div>
<div class="modal-footer" style="display: block">
<