Skip to content

Commit e9770ee

Browse files
committed
#4 added the app.component.js
1 parent 242b004 commit e9770ee

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

app/js/app.component.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(function (app) {
2+
app.AppComponent =
3+
ng.core.Component({
4+
selector: 'my-app',
5+
template: '<h1>My First Angular App</h1>'
6+
})
7+
.Class({
8+
constructor: function () { }
9+
});
10+
})( window.app || (window.app = {} ));

0 commit comments

Comments
 (0)