
이 저작물은 크리에이티브 커먼즈 저작자표시-동일조건변경허락 2.0 대한민국 라이선스에 따라 이용할 수 있습니다.
Angular2 스터디 발표 자료
<head>
<link rel="import" href="template.html">
<link rel="import" href="template2.html">
.........
</head>
<script>
var link = document.querySelector('link[rel="import"]');
var content = link.import;
var el = content.querySelector('#template');
document.body.appendChild(el.cloneNode(true));
</script>
@Component({
//컴포넌트 메타데이터 설정
})
export class HelloComponent{
//컴포넌트 로직 작성
}