I have some static config-like values that are used throughout the web app. Currently I am creating directives to put them into the $scope
, but that seems awfully wasteful.
Is there a way for angular expressions to directly access some kind of "static" values defined either in some module or in the Javascript global scope?