index.html 526 B

123456789101112131415161718
  1. <!DOCTYPE html>
  2. <html ng-app="store">
  3. <head lang="en">
  4. <meta charset="UTF-8">
  5. <title></title>
  6. <link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css" />
  7. </head>
  8. <body>
  9. <script type="text/javascript" src="../angular/angular.min.js"></script>
  10. <script type="text/javascript" src="app.js"></script>
  11. <div ng-controller="StoreController as store">
  12. <h1>{{ store.product.name }}</h1>
  13. <h2>${{ store.product.price }}</h2>
  14. <p>{{ store.product.description }}</p>
  15. </div>
  16. </body>
  17. </html>