johnpapa / angular-styleguide

Angular Style Guide: A starting point for Angular development teams to provide consistency through good practices.
http://johnpapa.net
MIT License
23.91k stars 4.16k forks source link

Can you give simple Hello World Program? #834

Closed muralitharanvellaisamy closed 7 years ago

muralitharanvellaisamy commented 7 years ago

I have Follow Your Style Guide, But i cannot get clear view and folder structure can give any simple example?

FrancescoRizzi commented 7 years ago

For a1 I usually refer to the modular demo app, and its source/client.

In general terms, it's a "modular" folder structure.. so if you have modules corresponding to your app's pages/states, you'll have a directory (within /app ) for each module (with a .app.js, .html and .js within), plus a directory for each service or directive. Although for extremely simple services used only by that app (and by most or all of the pages/modules in the app), I might put them all in a single /services directory/module.

HTH (and of course, I'm just a simple "reader/user" of JP's style guide, so don't take my voice as authoritative)

johnpapa commented 7 years ago

thanks