123456789101112131415161718 |
- <!DOCTYPE html>
- <html ng-app="store">
- <head lang="en">
- <meta charset="UTF-8">
- <title></title>
- <link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css" />
- </head>
- <body>
- <script type="text/javascript" src="../angular/angular.min.js"></script>
- <script type="text/javascript" src="app.js"></script>
- <div ng-controller="StoreController as store">
- <h1>{{ store.product.name }}</h1>
- <h2>${{ store.product.price }}</h2>
- <p>{{ store.product.description }}</p>
- </div>
- </body>
- </html>
|