2015/01 13

우분투 APT Broke 문제 해결

Ubuntu APT Broke Solution SolydXK forums • View topic - My APT Broke sudo apt-get update ....... Encountered a section with no Package: header Problem with MergeList /var/lib/apt/lists/repo.steampowered.com_steam_dists_precise_steam_i18n_Translation-en 패키지 목록이나 상태 파일을 파싱할 수 없거나 열 수 없습니다. Can't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 56. E: Problem executing ..

os/Ubuntu 2015.01.05

AngularJS $scope 계층구조

AngularJS $rootScope, $scope Scope 타입 $scope 객체나 $rootScope 객체는 AngularJS 내부에서 정의하는 Scope 타입의 인스턴스다. 즉, 다음과 같이 별도의 생성자 함수가 AngularJS 내부에 정의돼 있다. function Scope(){ ... } Scope.prototype.$apply = function(){}; Scope.prototype.$digest = function(){ ... }; Scope.prototype.$watch = function(){ ... }; Scope.prototype.$new = function(){ ... }; //... AngularJS는 초기 부트스트랩 시 프레임워크 내부에서 $rootScope을 new Sceo..

lang/ng 2015.01.02

AngularJS MVC

AngularJS MVC AngularJS jsFiddle Example AngularJS도 자바스크립트 MVC 프레임워크 중 하나이지만 AngularJS는 smalltalk-80언어부터 시작된 전통적인 MVC패컨을 구현하지 않고 MVVM(Model-View-View-Model)과 비슷하지만 독자적인 방식으로 MVC패턴을 구현했다. 초기 AngularJS는 전통적은 MVC 패턴을 흡사하게 구현하여 MVC패너으로 소개됐다. 하지만 AngularJS가 버전이 올라가면서 다양한 기능이 추가됨에 따라 MVVM에 가깝게 되어 AngularJS 사용자들 간에 MVVM 프레임워크라는 주장이 다분했다. 그런데 AngularJS 팀에서는 AngularJS를 어느 패턴으로 분류하지 않고 사용하는 사람 마음대로 정의하라는 ..

lang/ng 2015.01.01
반응형