AngularJS: Unterschied zwischen den Versionen

Aus wiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: «== Small Angular JS App == <code><!doctype html> <html class="no-js"> <head> <meta charset="utf-8"> <title>TaskMan - AngularJS TaskManager with local Sto…»)
 
(Small Angular JS App)
Zeile 1: Zeile 1:
 
== Small Angular JS App ==
 
== Small Angular JS App ==
<code><!doctype html>
+
<blockquote><!doctype html>
 
<html class="no-js">
 
<html class="no-js">
 
<head>
 
<head>
Zeile 54: Zeile 54:
 
</body>
 
</body>
 
</html>
 
</html>
</code>
+
</blockquote>

Version vom 29. August 2014, 13:46 Uhr

Small Angular JS App

<!doctype html>

<html class="no-js"> <head> <meta charset="utf-8"> <title>TaskMan - AngularJS TaskManager with local Storage</title> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css"> <link rel="stylesheet" href="styles/main.css">

<script src="scripts/angular.js"></script> <script src="scripts/ngStorage.js"></script> <script src="scripts/controllers/main.js"></script> </head> <body ng-app="taskmanApp">

taskman

Create a new Task: <form ng-submit="addTask()">

<input placeholder="insert task" ng-model="$storage.task.name">

<select ng-model="$storage.task.prio"> <option value="high">High Prio</option> <option value="middle">Middle Prio</option> </select> <input type="submit" class="btn-primary" value="Insert"> </form>


</body> </html>