-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path17.$eval-$parse-$interpolate.html
More file actions
23 lines (21 loc) · 1.12 KB
/
17.$eval-$parse-$interpolate.html
File metadata and controls
23 lines (21 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>$eval, $parse and $interpolate</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script type="text/javascript" src="17.$eval-$parse-$interpolate.js"></script>
</head>
<body ng-app="app">
<div class="container" ng-controller="sample">
Value of a : {{a}}<br>
Value of b : {{b}}<br>
<button ng-click="demo()">Demo</button><hr><br>
<button ng-click="demoEval()">Demo Eval</button><hr><br>
<button ng-click="demoParse()">Demo Parse</button><hr><br>
<button ng-click="demoInterpolate()">Demo Interpolate</button><hr><br>
</div>
</body>
</html>