-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
29 lines (27 loc) · 867 Bytes
/
script.js
File metadata and controls
29 lines (27 loc) · 867 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
var app = angular.module("portfolio", []);
app.controller('updateController', ['$scope', function($scope) {
$scope.title = 'Status Updates';
$scope.promo = 'The most popular books this month.';
$scope.updates = [
{
text: "The single page application concept seems to be more appropriate for my portfolio",
date: new Date('2013', '08', '01')
},
{
text: "Trying out AngularJS with bootstrap now.",
date: new Date('2013', '08', '01')
},
{
text: "Trying to decide between Django vs. Rails for web development. I like python,but I really like the Rails framework.",
date: new Date('2013', '08', '01')
},
{
text: "Almost have my portfolio fully up and running",
date: new Date('2013', '08', '01')
},
{
text: "test update",
date: new Date('2013', '08', '01')
}
];
}]);