Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

angular.html 690B

1234567891011121314151617181920
  1. <!doctype html>
  2. <html ng-app="app">
  3. <head>
  4. <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.3/angular.min.js"></script>
  5. <script src="../src/sprintf.js"></script>
  6. <script src="../src/angular-sprintf.js"></script>
  7. </head>
  8. <body>
  9. <pre>{{ "%+010d"|sprintf:-123 }}</pre>
  10. <pre>{{ "%+010d"|vsprintf:[-123] }}</pre>
  11. <pre>{{ "%+010d"|fmt:-123 }}</pre>
  12. <pre>{{ "%+010d"|vfmt:[-123] }}</pre>
  13. <pre>{{ "I've got %2$d apples and %1$d oranges."|fmt:4:2 }}</pre>
  14. <pre>{{ "I've got %(apples)d apples and %(oranges)d oranges."|fmt:{apples: 2, oranges: 4} }}</pre>
  15. <script>
  16. angular.module("app", ["sprintf"])
  17. </script>
  18. </body>
  19. </html>