IT - S/W, Biz/S/W Development

AngulaJs 몇가지 정리

Ever White 2014. 5. 29. 16:27

세미나에서 들은 내용 + @ 정리합니다.


* http://ngmodules.org/

AngularJs Directive 처리한 파일업로드, UI, UI - Data 바이딩 등의 각종 모듈들의 랭킹 리스트


* Using Track-By With ngRepeat 

     참고 : http://www.bennadel.com/blog/2556-using-track-by-with-ngrepeat-in-angularjs-1-2.htm


* jquery 사용

  directive 만들땐 jquery 써도 되는데 

  컨트롤러에서 쓰면 dom 제어 하는 타이밍이 angular와 차이가 있어서 사용하면 안좋음

  컨트롤에선 비즈로직만..


* jqlite

AngularJS 자체에 이미 jqLite라고 하는 jQuery 스타일의 DOM 조작 API가 있지만

구버전의 IE브라우저까지 호환하려면 jQuery 1.x버전을 포함해야 합니다.

jQuery가 먼저 존재할경우 자체 내장한 jqLite대신 jQuery를 사용합니다.

from : http://inspiredjw.tistory.com/entry/%EA%B5%AC%EA%B8%80%EC%9D%98-AngularJS-%ED%94%84%EB%A0%88%EC%9E%84%EC%9B%8C%ED%81%AC


* Browser Support

   브라우저 호환은 이렇습니다. (참고로 향후 2.x 버젼대에서는 IE 지원을 IE10 부터 한다던가 하는식으로 바뀔거같다고 합니다.)

What browsers does Angular work with?

We run our extensive test suite against the following browsers: Safari, Chrome, Firefox, Opera, IE8, IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari). See Internet Explorer Compatibility for more details in supporting legacy IE browsers.


Internet Explorer Compatibility

Note: AngularJS 1.3 is dropping support for IE8. Read more about it on our blog. AngularJS 1.2 will continue to support IE8, but the core team does not plan to spend time addressing issues specific to IE8 or earlier.