Take a look at Local Storage: http://diveintohtml5.info/storage.html
On 20 June 2015 at 19:42, fr3sh <[email protected]> wrote: > Hello, > > I know that angularJS is used to create single page applications, but > still - I wanted to know whether it is possible to use AngularJS in order > to pass data between different pages (and not child views). > > Let's say I have two pages: page1.html and page2.html. Each one of them > has this html tag: > > <html lang="de-DE" ng-app="myApp"> > > What I wanted to achieve is using Controller1 in page1.html and > Controller2 in page2.html. > When I enter some text in an input field in page1.html I want to see this > input when I navigate to page2.html. > I'm having severe difficulties setting up ui.router for this scenario. > > I'd be grateful for every hint. > > 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 http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
