角度js和asp.net mvc中的动态路由 [英] dynamic routing in angular js and asp.net mvc

查看:52
本文介绍了角度js和asp.net mvc中的动态路由的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我对angularjs很新。出于学习目的,我编写了一个示例应用程序,它将在主页面内呈现部分页面。为此我在asp.net MVC项目中使用了angularjs动态路由。我也托管了我创建的网站,因为我使用了$ location。



我面临的问题是,当我尝试点击客户信息链接时,我收到以下错误:



错误:[$ compile:tpload] http://errors.angularjs.org/1.3.0/$compile / tpload?p0 = ClientInfo

,见F12->控制台








我在codeproject的论坛中提出了这个问题。但没有人回答。所以想在这里问一下。



我在讨论论坛上提出的问题的链接是:



< a href =http://www.codeproject.com/Forums/12076/ASP-NET.aspx> http://www.codeproject.com/Forums/12076/ASP-NET.aspx [< a href =http://www.codeproject.com/Forums/12076/ASP-NET.aspxtarget =_ blanktitle =New Window> ^ ]



帖子的主题是angular js and asp.net mvc

Hi all,

I am very new to angularjs. For learning purposes I wrote a sample application that will render a partial page inside main page. For this I have used angularjs dynamic routing inside asp.net MVC project. Also I have hosted the website I created because I have used $location.

The problem I am facing is that When I try to click on the link "Client Information", i get the following error:

Error: [$compile:tpload] http://errors.angularjs.org/1.3.0/$compile/tpload?p0=ClientInfo
as seen in the F12-> Console




I had raised this in discussion forum in codeproject. But none replied. So thought of asking here.

Link for the question I asked in discussion forum is:

http://www.codeproject.com/Forums/12076/ASP-NET.aspx[^]

subject of the post is "angular js and asp.net mvc"

推荐答案

location。



我面临的问题是,当我尝试点击客户信息链接时,我收到以下错误:



错误:
location.

The problem I am facing is that When I try to click on the link "Client Information", i get the following error:

Error:


compile:tpload] http://errors.angularjs.org/1.3.0/
compile:tpload] http://errors.angularjs.org/1.3.0/


compile / tpload?p0 = ClientInfo

,见于F12->控制台








我在codeproject的论坛中提出了这个问题。但没有人回答。所以想在这里问一下。



我在讨论论坛上提出的问题的链接是:



< a href =http://www.codeproject.com/Forums/12076/ASP-NET.aspx> http://www.codeproject.com/Forums/12076/ASP-NET.aspx [< a href =http://www.codeproject.com/Forums/12076/ASP-NET.aspxtarget =_ blanktitle =New Window> ^ ]



帖子的主题是angular js and asp.net mvc
compile/tpload?p0=ClientInfo
as seen in the F12-> Console




I had raised this in discussion forum in codeproject. But none replied. So thought of asking here.

Link for the question I asked in discussion forum is:

http://www.codeproject.com/Forums/12076/ASP-NET.aspx[^]

subject of the post is "angular js and asp.net mvc"


这篇关于角度js和asp.net mvc中的动态路由的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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