I am having problems with angular and mvc routing and cannot seem to get 
them to work.

I have looked into this pretty much all day without any luck, there are 
plenty of articles on how to configure them both. 

However having got my application to "work", the aspect that does not 
seemed to be covered very well is how to deal with page refresh which 
completely throws the application.

URL: localhost/product/getproducts/ - this display a list of records as 
expected with a partial view

However if I click on the page reload button in the browser or f5, it only 
returns raw json with the data in it.

URL: localhost/product/getproduct/5 - returns a product displayed as 
partial view.

However page reload, returns a blank page with an [] showing.

Can anyone help me with this? or make me understand what I need to do? it's 
driving me insane.

Thanks :)

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to