chul-hyun / Memoria

메모리아 제작 프로젝트

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LazyAngular의 lazyload 기능 update

chul-hyun opened this issue · comments

commented
LazyAngular.pushPathInfo({ controllers: ['CommonCtrl', 'logoCtrl'], directives: ['lazyInclude', 'lazyView', 'customSelect', 'customSelectView', 'customOption'], filters: [] }); 이부분이 필요없도록!

즉, 무슨 컨트롤을, 디텍티브를 했는지 html문서에서 자동으로 읽어서 자동으로 필요한 컨트롤러, 디텍티브, 필터의 파일을 알아야 한다.

commented

서버상의 지정 디덱토리의 파일명을 불러와서 등록하는 방법.

commented

컨트롤러는 html문서상 ng-controller의 값들을 불러오고
디텍티브는... 디텍티브가 문제..