Click here to Skip to main content
15,915,501 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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"
Posted
Comments
Richard Deeming 21-Oct-15 10:34am    
REPOST
As you mentioned, you have already posted this question in the ASP.NET forum:
http://www.codeproject.com/Messages/5144507/angular-js-and-asp-net-mvc.aspx[^]

You haven't had a response because nobody who has seen your question has an answer.

Reposting the same question is not going to change that.
Sreekanth Mothukuru 23-Oct-15 4:34am    
Seems like you are not handling GotoClientInfo() or GotoFacilityInfo() methods in your controller. Try this.. instead of using ng-click="GotoClientInfo()" href="javascript:void(0);" just try to redirect to the router you created like href="#ClientInfo" or href="#FacilityDetails"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900