참고 : http://www.webdeveasy.com/interceptors-in-angularjs-and-useful-examples/
https://johnpapa.net/angular-app-structuring-guidelines/
https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md
- 디렉토리 구조 가이드라인
https://johnpapa.net/angular-app-structuring-guidelines/
- 코딩 컨벤션
https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md
/** * recommended * * no globals are left behind */ // logger.js (function() { 'use strict'; angular .module('app') .factory('logger', logger); function logger() { } })(); // storage.js (function() { 'use strict'; angular .module('app') .factory('storage', storage); function storage() { } })();
댓글
댓글 쓰기