在ASP.NET MVC中使用angularjs2的Fileupload [英] Fileupload using angularjs2 in ASP.NET MVC

查看:122
本文介绍了在ASP.NET MVC中使用angularjs2的Fileupload的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能否通过使用Angularjs2版本来帮助我使用FileUplaod



我尝试了什么:



我在谷歌搜索但是所有都与angularjs 1版本有关..无法找到Fileupload的Angularjs2版本。

Could you please help me on the FileUplaod by using Angularjs2 version

What I have tried:

I have searched in google but all are related to angularjs 1 version..Not able to find the Angularjs2 version for Fileupload.

推荐答案

Google [ ^ ]


以下cade适用于Angularjs 1但我是无法找到angularjs2的正确代码

The below cade is working for Angularjs 1 but i am not able to findout the proper code for angularjs2
<script type="text/javascript">
    var app = angular.module('myApp', ['lr.upload']);

    app.controller('HomeCtrl', ['


scope','upload','
scope', 'upload', '


这篇关于在ASP.NET MVC中使用angularjs2的Fileupload的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆