Hugo Josefson
Senior Web Consultant at www.jayway.com
"What HTML would have been
had it been designed for applications"
Go with it, don't fight it!
^ effort ^
┃ ┃ .-------------
┃ ┃ .-----/
┃ .---- ┃ /
┃ Two-way | vs ┃ |
┃ data binding | ┃ |
┃ / Directives ┃ |
┃ Services | ┃ |
┃ .---------------/ ┃ |
┃----/ ┃ /
╄━━━━━━━━━━━━━━━━> time ╄━━━━━━━━━━━━━━>
|-. html
| |-- menu
| \-- person
|
|-- images
|
|-- css
|
|-. js
| |-- controllers
| |-- services
| |-- directives
| \-- models
|
\-. test
|-. unit
| |-- menu
| \-- person
|
\-. scenario
|-- menu
\-- person
\-. app
|-. menu
| |-- routing.js
| |-- menu.html
| |-- menu-sprites.png
| |-- menu.css
| |-- menu-controller.js
| |-- menu-controller-test.js
| \-- navigation-scenario.js
|-. person
| |-- person.html
| |-- person.js # model
| |-- person-controller.js
| |-- person-controller-test.js
| \-- person-edit-scenario.js
\-. common
|-- app.js
|-- layout.html
|-- app-sprites.png
\-- app.css
What happens if I put 2 of these
on the same page...?
<input type="url" image-url/>
briantford.com/blog/huuuuuge-angular-apps.html
briantford.com/blog/angular-bower.html
blog.artlogic.com/2013/05/02/ive-been-doing-it-wrong-part-1-of-3
www.sitepoint.com/10-reasons-use-angularjs
net.tutsplus.com/tutorials/javascript-ajax/5-awesome-angularjs-features
blog.artlogic.com/2013/03/06/angularjs-for-jquery-developers
www.angularjs.org
docs.angularjs.org
← short wonderful tutorial videos
egghead.io
← short wonderful tutorial videos
Batarang | Chrome extension |
plnkr.co, jsfiddle.net | Sketch some code |
bower.io, component | Dependency management |
gruntjs.com | Build system |
yeoman.io | Project scaffolding (and great examples of using Grunt) |
ng-boilerplate, angular-app |
Per-feature directory structure example |
ngmin, grunt-ngmin | Make your code minifier-safe |
Closure Compiler | "Minifier++" from Google |
ngmodules.org | Some Angular community modules |
By Hugo Josefson
Enabling you to structure an AngularJS web app for the long-term. Also useful tools which makes working with web apps, and especially AngularJS ones, more effective.