I am trying to pass data between two pages which are having Angular controllers.
Now I came across 2 different ways to pass data:
- via Angular service (similar to here)
- using HTML5 storage option (either Local/Session as shown here)
From development perspective I wanted to know as which is more preferred method of passing data? Can this scenario change if we are dealing with large JSON data ?