-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (29 loc) · 1.09 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="AngularJS Hello world Demo, hello world angular js">
<meta name="keywords" content="AngularJS demo, first program in angularjs, angularjs hello world app">
<meta name="author" content="Naveen kumar Gunasekaran">
<title>AngularJS Hello world Demo | Javadomain.in</title>
<!-- including angular min js -->
<script src="js/angular.min.js"></script>
<!-- our custom angular js file -->
<script src="js/angular-custom.js"></script>
</head>
<!-- data-ng-app can be given to div also -->
<body data-ng-app="hello_world_app">
<!-- HelloController for this div -->
<div data-ng-controller="HelloController">
<!-- value assigned to "helloMsg" in the angular-custom.js file
$scope.helloMsg = 'welcome to Javadomain.in! Happy AngularJS Learning!!' -->
{{ helloMsg }}
</div>
<!-- AuthorController for this div -->
<div data-ng-controller="AuthorController">
{{author}}
</div>
</body>
</html>