-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path7.html
More file actions
32 lines (31 loc) · 811 Bytes
/
7.html
File metadata and controls
32 lines (31 loc) · 811 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
<script src="../org/angular.js"></script>
</head>
<body>
<div ng-app="hd" ng-controller="ctrl">
</div>
<script>
var m=angular.module('hd',[]);
m.controller("ctrl",['$scope',function($scope){
$scope.f='';
//console.log(angular.version)
//console.log(angular.lowercase("ASDASD"))
//console.log(angular.uppercase("dfsfsfs"))
var obj={name:"kdsj"}
//var objs={};
//angular.copy(obj,objs);
//console.log(obj==objs);
angular.extend(obj,{url:"www.baidu.com","web":"百度"})
console.log(obj)
}]);
</script>
</body>
</html>