AngularJS基本構文 (コントローラーを使わない場合)

<!DOCTYPE html>
<html lang=”ja” ng-app>
<head>
<meta charset=”UTF-8″>
<title>Angularの練習</title>
<script src=”http://code.angularjs.org/angular-1.0.1.min.js“></script>
</head>
<body>
<h1>AngularJSの練習</h1>
<input type=”text” ng-model=”name“>
<p>こんにちは!{{name}}</p>
<p>こんにちは!{{5 * 3}}</p>
</body>
</html>

Angularの練習

AngularJSの練習

こんにちは!{{name}}

こんにちは!{{5 * 3}}

 

About

You may also like...

Your email will not be published. Name and Email fields are required