lundi 4 juillet 2016

How to access data from the url parameters in AngularJS

So basically I have a monitor system. Then when I click on a specific application I want to navigate to a statistics page and load that apps stats dynamically.

So on the monitoring pages (http://ift.tt/29pjmMS) script I have the following line of code:

window.location = "#/applicationstats?application=" + app;

Which then navigates me to:

http://ift.tt/29iqE2n

My question is, how do I access the data held in the parameter 'application' above? In other words, how can I print to the screen 'test123'




Aucun commentaire:

Enregistrer un commentaire