-
Notifications
You must be signed in to change notification settings - Fork 2k
Mean JS Angular App to Use Style Guide #490
Comments
@britztopher Any initial changes that you think should be made? |
Maybe I am miss understanding but we are doing this already for v4.0 we changed the file structure similar to what he recommends... John Papa - 10 AngularJS Patterns - Code on the Beach 2014 |
I'm sure there are other things that could be changed, but I don't think everyone will necessarily agree with everything he recommends. |
@ilanbiala I would say these would be a good start:
I mean I seem to follow the whole guide with a little deviation from folder/file structure, which makes code a lot easier to read and maintainable. Also, the style guide does point out some good reasons why to do certain things. Like why to use IIFEs. @SOSANA the structure is on the ball, however, internals are not. |
Great idea @britztopher |
This not entirely related but I think an awesome feature would be to be I often scaffold an app, then customize one module for specific needs of On Mon, Mar 23, 2015 at 10:28 PM, Shristi Sharma notifications@github.com
|
+1 for using John Papa's style guide. |
Sounds like we could finally get rid of pre written annotations as well: write:
instead of:
...and let ng-annotate do the job. |
+1 |
+1 |
Closing in favor of #636. |
I am wondering if we could start following the john papa style guide for the angular application. It proves to serve a lot of great ideas and fundamentals.
https://github.com/johnpapa/angular-styleguide
The text was updated successfully, but these errors were encountered: