jdx / jdx/angular-boilerplate

Discussion : What about Self executed for AngularJS files ?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
76
Forks
19
PR merge metrics
No merged PRs in 30d

Description

This not an issue but more a discussion.
I read your [Best Practices for Building Angular.js Apps](https://medium.com/@dickeyxxx/best-practices-for-building-angular-js-apps-266c1a4a6917) on medium. It's very interesting, by the way.
Afterwards, I'm wondering if there is any advantages or disadvantages to wrap AngularJS code in a self-executed function as exposed [here](https://github.com/johnpapa/ng-demos/blob/master/modular/src/client/app/app.module.js) ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.