Skip to content

Commit 3349b73

Browse files
committed
first commit
0 parents  commit 3349b73

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

index.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
4+
<body>
5+
6+
<div data-ng-app="myStuff" data-ng-controller="myController">
7+
8+
<p>First name: <input type="text" ng-model="firstName"></p>
9+
<p>Last name: <input type="text" ng-model="lastName"></p>
10+
11+
<p>{{firstName + " " + lastName}}</p>
12+
13+
</div>
14+
15+
<script>
16+
var app = angular.module("myStuff",[]);
17+
app.controller("myController", function($scope){
18+
$scope.firstName = "John";
19+
$scope.lastName = "Doe";
20+
});
21+
</script>
22+
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)