Angular Github Change Log Document https://github.com/angular/angular/blob/master/CHANGELOG.md RC5 Bug Fixescore: support components without a selectorhttp: convert objects passed to requests into a string RC5 Code Refactoringcore: change bootstrap of modules and names of platformscore: deprecate coreBootstrap, PLATFORM_PIPES/DIRECTIVES providers and ComponentResolver RC5 Featurescore: introduce..
AngularJS Tutorial 2.0 RC4 to RC5 Migration Migration Step !!! Node V5.x.x / npm 3.x.x 이상 필요 !!! 1. quick-start의 json 파일 Copy&Pastehttps://angular.io/docs/ts/latest/quickstart.html 2. 프로젝트의 node_modules 제거 3. npn installnpm install @angular/{core,common,compiler,platform-browser,platform-browser-dynamic} –save Peer Dependency 오류 발생시 직접 설치 해야함 4. npm start start error 발생할 경우 -> package.json 변경"st..
Angular.io 에서 제공하는 튜토리얼을 정리한 것입니다. 사진 클릭시 튜토리얼로 이동!! RC4기준 !!7. Http 1. Providing HTTP Services 이번 장에서는 원격 서버의 웹 API에 대응하는 HTTP 호출을 하는 응용 프로그램을 만들것이다. HTTP는 core Angular module이 아니다. npm package를 통해서 @angular/http 라는 add-on module로 제공된다. 튜토리얼을 따라왔다면 우리는 systemjs.config에서 필요한 라이브러리들을 이미 다운 받았다. HTTP를 어디에서나 엑세스하기 위하여 main.ts 의 bootstrap에 등록한다. HTTP_PROVIDERS를 bootstrap의 2번째 파라미터로 등록하는 것은 @Componen..
Angular.io 에서 제공하는 튜토리얼을 정리한 것입니다. 사진 클릭시 튜토리얼로 이동!! RC4기준 !!6. Routing (1) - 파일 분리하기1. 이전 프로젝트와 달라지는 것 대시보드 화면 추가Heroes와 대시보드 화면 이동선택된 히어로의 디테일을 다른 화면에서 보여주기clicking a deep link in an email opens the detail view for a particular hero 2. 폴더 구조 3. Plan AppComponent를 네비게이션만 다루는 하나의 application shell 로 변경 Heroes concerns을 AppComponent와 HeroesComponent로 나누어 재위치 routing 추가 DashboardComponent 생성 Tie D..
Angular.io 에서 제공하는 튜토리얼을 정리한 것입니다. 사진 클릭시 튜토리얼로 이동!! RC4기준 !!5. Service 1. 폴더 구조 2. Chapter4의 issue - hero를 정의하는 것은 컴포넌트의 일이 아니다.- 공유하기가 쉽지 않다. new 키워드를 대체하기 위하여private property를 정의하기 위해 constructor를 추가.constructor를 사용하기 위하여 컴포넌트에 provider 사용. 3. app.component.ts123456789101112131415161718192021222324252627282930313233343536import { Component, OnInit } from '@angular/core';import { Hero } from '..
- Total
- 128,897
- Today
- 9
- Yesterday
- 130
- angularjs 2.0
- Web
- 해결
- 오류관리
- java
- Dependency Injection
- 2.0
- angularjs
- db
- routing
- javascript
- 개발자
- navitagion
- 원인
- DI
- 앵귤러
- resolve
- jquery
- MySQL
- 오류
- Framework
- database
- 문제
- 오류해결
- front end
- http
- error
- 라우팅
- front
- MVC