[AngularJS] Re: href link to route with params

2014-05-29 Thread Luke Kende
If you are using $locationProvider.html5Mode(true) then you don't need to put the anchor tag in there... still it seems that {{lang}} is not interpolating so you may have a scope issue. On Tuesday, May 27, 2014 3:57:20 PM UTC-6, Joberto Diniz wrote: I don't follow.. Tried:

[AngularJS] Re: href link to route with params

2014-05-27 Thread miguel . ferreira
Hi, Use ng-href: https://docs.angularjs.org/api/ng/directive/ngHref Regards, Miguel Terça-feira, 27 de Maio de 2014 22:14:03 UTC+1, Joberto Diniz escreveu: I set up the following route configuration: $routeProvider.when('/:lang/tv', { templateUrl: '/mainModule/partials/tv.html',

[AngularJS] Re: href link to route with params

2014-05-27 Thread Joberto Diniz
I don't follow.. Tried: ng-href=#/{{lang}}/catalog Doesn't work, it renders: #//catalog On Tuesday, May 27, 2014 6:20:10 PM UTC-3, miguel@creativesystems.eu wrote: Hi, Use ng-href: https://docs.angularjs.org/api/ng/directive/ngHref Regards, Miguel Terça-feira, 27 de Maio de 2014