Skip to content

Commit a6d2143

Browse files
committed
finished ng2 m2
1 parent 1035388 commit a6d2143

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

angular2/labs/01_Introduction.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ environment:
99

1010
Example:
1111

12-
Title Length Actions
13-
Star Wars V 120 |+ Length| |- Length|
14-
Star Wars III 120 |+ Length| |- Length|
15-
Star Wars I 120 |+ Length| |- Length|
12+
Title Length
13+
Star Wars V 120
14+
Star Wars III 120
15+
Star Wars I 120
1616

17-
The |+ Length| and |- Length| text in the example represent buttons, the buttons
18-
should add 1 minute or remove 1 minute from the length of the respective movie.
17+
18+
Create the movies directly in the main application component. Don't worry about using classes
19+
as yet, just create the movies using object literals ({title: 'Star Wars', length: 120 });
1920

2021
To get setup, you'll need to use npm to install Angular 2 and Angular dependencies (or
2122
use Yeoman, a seed project, or the demo files for this class).

angular2/labs/02_Language.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Lab 01 : Languages
2+
Estimated Time: 20 minutes
3+
4+
Refactor your project and make a Movie class. Import the class into
5+
your main application class and instantiate the class to make the model
6+
data showing on the screen.
7+
8+
Title Length
9+
Star Wars V 120
10+
Star Wars III 120
11+
Star Wars I 120

angular2/slides/02_Language.pptx

280 KB
Binary file not shown.

0 commit comments

Comments
 (0)