Hi Sander,

Sounds good. Thank you all for clarifying.

On Sat, Apr 2, 2016 at 8:58 AM, Sander Elias <[email protected]> wrote:

> Hi Kasper,
>
> The array notation is to make sure the injector works, even when your code
> is minified. There are a couple of other ways to reach the same goal. You
> can look those up if you want.
> If you are only concatenating your code, and not minifying/uglyfying, you
> don't really need those, but I think it's a good idea to have them around
> anyway.
>
> The good news is, you don't (and it even recommend against) have to do it
> by hand.
> If you are going to minify, you are using a tools for that. When you are
> using tools, it's quite easy to add an tool that takes care of this
> automatically.  ng-annotate <https://github.com/olov/ng-annotate> is the
> most used one.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/jbVykBsGuSE/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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.

Reply via email to