This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:angularjs [2015/09/01 10:12] – [app boilerplate] scipio | tips:angularjs [2021/10/12 21:31] (current) – removed scipio | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== AngularJS ====== | ||
| - | ===== tutorials ===== | ||
| - | |||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | |||
| - | ===== app boilerplate ===== | ||
| - | |||
| - | Inside static folder | ||
| - | |||
| - | .bowerrc | ||
| - | < | ||
| - | { | ||
| - | " | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | bower.json | ||
| - | < | ||
| - | { | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | } | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | Install bower modules | ||
| - | < | ||
| - | bower install | ||
| - | </ | ||
| - | |||
| - | tree | ||
| - | < | ||
| - | |||
| - | |||
| - | |||
| - | </ | ||
| - | |||
| - | ===== scope ===== | ||
| - | |||
| - | Select scope of another controller (myController) | ||
| - | <code javascript> | ||
| - | var $ascope = angular.element( | ||
| - | document.querySelector(" | ||
| - | ).scope(); | ||
| - | </ | ||
| - | |||
| - | ===== i18n ===== | ||
| - | |||
| - | See [[http:// | ||