Thursday, 15 July 2010

angularjs - File download links with angulars UI-Router -


I am trying to create a simple link in the uploaded files in my angular JS app. I have no problem in linking because it is very trivial though the issue I have given is that the routing system has blocked the link and tries to load it in angular, which certainly fails And only returns to the default route. Of course, in reality it is not the behavior that I want.

  & lt; A href = "{{doc.url}}" & gt; {{Doc.name}} & lt; / A & gt; Using my links is produced.   

I also

  & lt; A ng-href = "{{doc.url}}" & gt; Have tried with {{doc.name}}}   

But obviously the resulting link does not change as a result HTML

  and   

That's right Now however, when I click on the link, I'm taken back to my default route. What can I do to stop Yuri-Router to handle this link?

Google gave me this: / P>

"If you have anchors in anchors" Target = "_ self".

  Go to error = "_self"> error Go to hell   

Source:

BTW, next time maybe do not tag this ROR, because it is purely a contingency issue

No comments:

Post a Comment