Ufff... It was not the constant. It was my config function which
configures each module I created. For example:
config.$inject = ['$locationProvider', '$sceDelegateProvider', 'ENV'];
function config($locationProvider, $sceDelegateProvider, ENV) {
I confused myself by naming the module that had the ENV constant 'config'...
I am using ngAnnotate and did not need to explicitly inject for
dev/serve or minified JS in version 1.2. Now I have to for every
individual module of which I have around 50, each with their own
configs, services, controllers, etc. Strange though because I have
made a few smaller apps with 1.3 and did not need to do that. Perhaps
it was introduced in 1.3.5?
On Wed, Dec 3, 2014 at 9:10 AM, Sander Elias <[email protected]> wrote:
> Hi Rob,
>
> It seems to work for me: http://plnkr.co/edit/JpV8xNaZ6JW4YZPlk0n2?p=preview
>
> 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.