Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:angularjs [2015/09/02 09:16] – [app boilerplate] scipio | tips:angularjs [2021/10/12 21:31] (current) – removed scipio | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== AngularJS ====== | ||
| - | ===== tutorials ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== app boilerplate ===== | ||
| - | |||
| - | Thanks to [[https:// | ||
| - | |||
| - | tree | ||
| - | < | ||
| - | ├── bower.json | ||
| - | ├── gulp | ||
| - | │ ├── build.js | ||
| - | │ ├── conf.js | ||
| - | │ ├── e2e-tests.js | ||
| - | │ ├── inject.js | ||
| - | │ ├── scripts.js | ||
| - | │ ├── server.js | ||
| - | │ ├── unit-tests.js | ||
| - | │ └── watch.js | ||
| - | ├── gulpfile.js | ||
| - | ├── karma.conf.js | ||
| - | ├── package.json | ||
| - | ├── protractor.conf.js | ||
| - | ├── README | ||
| - | └── src | ||
| - | ├── app | ||
| - | │ ├── components | ||
| - | │ │ ├── navbar | ||
| - | │ │ │ ├── navbar.css | ||
| - | │ │ │ ├── navbar.directive.js | ||
| - | │ │ │ └── navbar.html | ||
| - | │ │ └── webDevTec | ||
| - | │ │ | ||
| - | │ ├── index.config.js | ||
| - | │ ├── index.constants.js | ||
| - | │ ├── index.css | ||
| - | │ ├── index.module.js | ||
| - | │ ├── index.route.js | ||
| - | │ ├── index.run.js | ||
| - | │ └── main | ||
| - | │ | ||
| - | │ | ||
| - | │ | ||
| - | ├── assets | ||
| - | │ └── images | ||
| - | │ | ||
| - | │ | ||
| - | ├── favicon.ico | ||
| - | └── index.html | ||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | ==== bootstrap ==== | ||
| - | |||
| - | < | ||
| - | npm install | ||
| - | bower install | ||
| - | </ | ||
| - | |||
| - | ==== Install js lib ==== | ||
| - | |||
| - | edit bower.json or | ||
| - | < | ||
| - | bower install autobahn --save | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ===== scope ===== | ||
| - | |||
| - | Select scope of another controller (myController) | ||
| - | <code javascript> | ||
| - | var $ascope = angular.element( | ||
| - | document.querySelector(" | ||
| - | ).scope(); | ||
| - | </ | ||
| - | |||
| - | ===== i18n ===== | ||
| - | |||
| - | See [[http:// | ||