I set up the following route configuration:
$routeProvider.when('/:lang/tv', { templateUrl:
'/mainModule/partials/tv.html', controller: "TvController" });
$routeProvider.when('/:lang/catalog', { templateUrl:
'/mainModule/partials/catalog.html' });
However, how can I use this in the href of an anchor tag?
<a href="#/tv" class="topbar-link text-center" id="topbar-catalog"></a>
What to put in the href to point to the :lang/tv route?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.