1
vote
2answers
131 views

Routing issue b/w angularjs and expressjs

Express.js routing of /question/ask app.get('/question/ask', function (req, res){ console.log('index.js'); console.log('came to question/:id'); res.render('app'); }); The corresponding ...
1
vote
1answer
42 views

AngularJS route renaming

I have an angular app that lives on mysite.com/angularapp and there is no need for a route provider. When I load the page, the URL changes to mysite.com/angularapp#/angularapp. I'd like the URL to not ...
0
votes
3answers
750 views

AngularJS routing for dynamic urls, how?

I'm trying to understand how can i configure my angularJS routing given the following case: We have a search page where we display the search results based on tags provided (1..n tags). we would like ...
5
votes
1answer
4k views

Angular - different route, same template/controller,different loading method

I want to use routes, but I always want to use same template & controller. I have routes like this: **a/:albumid** and **i/:imageid** In the first case I want to load an array of images and ...
4
votes
4answers
2k views

How to create a 'url_for' link helper in AngularjJS

In .NET MVC there is @Url.Action() and in RoR there is url_for() I could not find similar url building helper in angularjs. I'm already providing everything that is needed to build url to ...