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,253 |
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 |
Dragonboat App | 2,832 Kb |
Halo 5 REQ Guide Bookmarklet | 3,993 Kb |
What Does the Fox Say Soundboard | 2,133 Kb |
NASA Concept | 6,304 Kb |
NASA Responsive Mockup | 6,068 Kb |
Single Element ChromeCast Icon | 2,132 Kb |
Personal Webpage Brainstorm | 3,224 Kb |
Destiny Weapon Inventory | 3,794 Kb |
A Pen by Chris Wachtman | 5,171 Kb |
Music Bookmarklet | 2,995 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 |
A cube | KyleDavidE | 18,627 Kb |
Cool audio | Bigliam | 1,868 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
SCSS Social Icons Flat | Mattsince87 | 3,482 Kb |
Pomodoro Clock | Yas46 | 3,328 Kb |
Isometric css island | Xaddict | 2,950 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
Scoreboard.js basic usage | Tbleckert | 1,733 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!