├── .gitignore ├── README.md ├── app ├── css │ ├── .gitignore │ ├── bootstrap.css │ └── style.css ├── img │ ├── .gitignore │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png ├── index.html ├── js │ ├── Controllers │ │ └── controllers.js │ ├── Directives │ │ └── directives.js │ ├── Filters │ │ └── filters.js │ ├── Services │ │ └── services.js │ ├── app.js │ ├── lib │ │ ├── angular │ │ │ ├── angular.js │ │ │ ├── angular.min.js │ │ │ └── version.txt │ │ └── require.js │ └── main.js └── templates │ └── Main.html ├── config └── testacular.conf.js ├── package.json ├── scripts ├── test.bat ├── test.sh ├── watchr.rb └── web-server.js └── test ├── lib └── angular │ ├── angular-mocks.js │ └── angular-scenario.js ├── main.js ├── test.test.js └── unit ├── controllers.test.js ├── directives.test.js ├── filters.test.js └── services.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | nbproject 3 | manifest.mf 4 | build.xml 5 | 6 | .project 7 | .settings 8 | .idea/* 9 | 10 | 11 | node_modules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ======= 2 | Angularjs + RequireJs + Express Seed 3 | ====================== 4 | 5 | ## Directory Layout 6 | 7 | src/ --> all of the files to be used in production 8 | public/ --> AngularJs application 9 | css/ --> css files 10 | bootstrap.css --> bootstrap stylesheet 11 | style.css --> application stylesheet 12 | img/ --> image files 13 | index.html --> app layout file (the main html template file of the app) 14 | js/ --> javascript files 15 | Controllers --> application controllers 16 | Directives --> application directives 17 | filters --> custom angular filters 18 | Services --> custom angular services 19 | app.js --> application 20 | lib/ --> angular and 3rd party javascript libraries 21 | angular/ 22 | angular.js --> the latest angular js 23 | angular.min.js --> the latest minified angular js 24 | angular-*.js --> angular add-on modules 25 | version.txt --> version number 26 | require.js --> require.js library 27 | template/ --> angular view partials (partial html templates) 28 | Main.html 29 | 30 | config/testacular.conf.js --> config file for running unit tests with Testacular 31 | 32 | scripts/ --> handy shell/js/ruby scripts 33 | test.bat --> autotests unit tests with Testacular (windows) 34 | test.sh --> autotests unit tests with Testacular (*nix) 35 | 36 | test/ --> test source files and libraries 37 | lib/ 38 | angular/ --> angular testing libraries 39 | angular-mocks.js --> mocks that replace certain angular services in tests 40 | angular-scenario.js --> angular's scenario (end-to-end) test runner library 41 | unit/ --> unit level specs/tests 42 | controllers.test.js --> specs for controllers 43 | directives.test.js --> specs for directives 44 | filters.test.js --> specs for filters 45 | services.test.js --> specs for services -------------------------------------------------------------------------------- /app/css/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxdow/angularjs-requirejs-seed/694dd0f0fb371e425493f65f4469ef48caa94132/app/css/.gitignore -------------------------------------------------------------------------------- /app/css/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #e9e0e9; 3 | } -------------------------------------------------------------------------------- /app/img/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxdow/angularjs-requirejs-seed/694dd0f0fb371e425493f65f4469ef48caa94132/app/img/.gitignore -------------------------------------------------------------------------------- /app/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxdow/angularjs-requirejs-seed/694dd0f0fb371e425493f65f4469ef48caa94132/app/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /app/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maxdow/angularjs-requirejs-seed/694dd0f0fb371e425493f65f4469ef48caa94132/app/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /app/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |