Hello,
In my application I have
app.run(function(rootScope)
{
$rootScope.Config = Configuration;
$rootScope.User = doLocalStorage;
$rootScope.EntityEnums = EntityEnums;
$rootScope.System = System;
});
Thanks to this I can use my Enums and Configuration in any controller and
view. The problem is that I dont know how to inject those values to my
directives scope. Any solutions?
Regards,
Qba
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.