Hi Sander ,

I can have the service injected in all the views....But how will I save /
update the value of $scope.userData in mainController....??

On Mon, Sep 15, 2014 at 7:30 PM, Sander Elias <[email protected]> wrote:

> Hi Jayanth,
>
> In this case the best solution is to put your model (userData) inside a
> service that you inject in every view.
> you then can navigate wherever you want, without losing the user input.
>
> Regards
> Sander
>
>
>  --
> 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.

Reply via email to