I'm developing a Restful Web app using ASP.NET WebAPI in the backend and AngularJS for the frontend, the thing is my project requires it to not be an SPA but MPA. The decision for going with Angular although it's more for SPAs is the two way data binding, services handlers and templating system, so I'd like to know if there's a way to set Named routes to serve multiple pages?
what i want to do is for example when entering "www.domain.somt/Home" it renders an index.html page and if i enter "http://ift.tt/1HzZArH" it renders a totally different users.html page.
Aucun commentaire:
Enregistrer un commentaire