-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcontroller.js
More file actions
42 lines (41 loc) · 855 Bytes
/
Copy pathcontroller.js
File metadata and controls
42 lines (41 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
var riders = [
{
name: "Valentino Rossi",
number: 46,
team: "Movistar Yamaha MotoGP",
nation: 'ita',
height: 182,
weight: 65,
city: "Urbino"
},
{
name: "Jorge Lorenzo",
number: 99,
team: "Movistar Yamaha MotoGP",
nation: 'esp',
height: 173,
weight: 63,
city: "Palma de Mallorca"
},
{
name: "Marc Marquez",
number: 93,
team: "Repsol Honda Team",
nation: 'esp',
height: 168,
weight: 59,
city: "Cervera"
},
{
name: "Dani Pedrosa",
number: 26,
team: "Repsol Honda Team",
nation: 'esp',
height: 160,
weight: 51,
city: "Sabadell"
}
]
var mainController = function ($scope) {
$scope.riders = riders;
}