Angular-HAML
How do I make an angular-haml?
What is a angular-haml? How do you make a angular-haml? This script and codes were developed by Chris Wachtman on 17 October 2022, Monday.
Angular-HAML - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Angular-HAML</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.3/angular.min.js"></script>
<div ng-controller="TodoCtrl"> <ul class="unstyled"> <li ng-repeat="todo in todos"> <input type="checkbox" ng-model="todo.done"> <span class="done-{{todo.done}}">{{todo.text}}</span> </li> </ul> <form ng-submit="addTodo()"> <input type="text" ng-model="todoText" size="30" placeholder="add new todo here"> <input class="btn-primary" type="submit" value="add"> </form> </div> <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Angular-HAML - Script Codes CSS Codes
.done-true { text-decoration: line-through; color: grey;
}
Angular-HAML - Script Codes JS Codes
function TodoCtrl($scope) { $scope.todos = [ {text:'learn angular', done:true}, {text:'build an angular app', done:false}]; $scope.addTodo = function() { $scope.todos.push({text:$scope.todoText, done:false}); $scope.todoText = ''; }; $scope.remaining = function() { var count = 0; angular.forEach($scope.todos, function(todo) { count += todo.done ? 0 : 1; }); return count; }; $scope.archive = function() { var oldTodos = $scope.todos; $scope.todos = []; angular.forEach(oldTodos, function(todo) { if (!todo.done) $scope.todos.push(todo); }); };
}
Developer | Chris Wachtman |
Username | cwacht |
Uploaded | October 17, 2022 |
Rating | 3 |
Size | 2,022 Kb |
Views | 22,264 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Personal Webpage Brainstorm | 3,224 Kb |
Font Awesome Forever | 1,844 Kb |
Minimal Menu | 3,308 Kb |
What Does the Fox Say Soundboard | 2,133 Kb |
Icon Orb | 2,128 Kb |
Music Bookmarklet | 2,995 Kb |
Single Element ChromeCast Icon | 2,132 Kb |
Halo 5 REQ Guide Bookmarklet | 3,993 Kb |
Dragonboat App | 2,832 Kb |
NASA Concept | 6,304 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Kut D3 | Jellevrswk | 3,687 Kb |
This in constructor context | _shree33 | 1,718 Kb |
Css3 loader | Clknap | 2,391 Kb |
Perforated foil | 0x04 | 2,617 Kb |
Awesome textarea | Ayoungh | 1,977 Kb |
Responsive slide | Thorien | 2,400 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!