<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="js/angular.min.js"></script>
<script>
function App($scope){
$scope.name = 'ly';
$scope.age = '21'
}
</script>
</head>
<body>
<div ng-controller="App">
<p>{{name}}</p>
<p>{{age}}</p>
</div>
</body>
</html>
添加回答
举报
0/150
提交
取消