Hi Aleksandar, Usually I put an `ngController` on the `<html>` tag or on the `<body>` tag to take care of stuff like this. An other way would be to put an service/factory to hold your system wide settings, and inject it in the controllers where ever you need it. And yet another approach would be, to stick this data in an user directive, which you can then expose to your template via the controllerAs here is an sample on that: http://plnkr.co/edit/uQgpJLWTePRmXEq3p3wh?p=preview You can even combine that with a service, if you need to handle stuff like login and so on.
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.
