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 |
Font Awesome Forever | 1,844 Kb |
Minimal Menu | 3,308 Kb |
What Does the Fox Say Soundboard | 2,133 Kb |
Destiny Weapon Inventory | 3,794 Kb |
Icon Orb | 2,128 Kb |
CSS Pie Chart | 2,682 Kb |
Personal Webpage Brainstorm | 3,224 Kb |
Dragonboat App | 2,832 Kb |
NASA Responsive Mockup | 6,068 Kb |
Halo 5 REQ Guide Bookmarklet | 3,993 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 |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Form Labels | Bartuc | 2,717 Kb |
Twitch.tv API | Ryzokuken | 2,618 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Sassy Buttons | Elyseholladay | 2,299 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
TinFoil Boats | Chandralil | 4,577 Kb |
Border-radius animation | Yukulele | 2,480 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
CSS Variables | Jdsteinbach | 4,759 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!