Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.swp
.ruby-version
.ruby-gemset
19 changes: 10 additions & 9 deletions angular_app/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<!doctype html>
<html ng-app='ticketApp'>
<html ng-app='todoApp'>

<head>
<script src='js/angular.js'></script>
<script src='js/angular-resource.js'></script>
<script src='js/app.js'></script>
<link rel="stylesheet" href="../shared_css/normalize.css">
<link rel="stylesheet" href="../shared_css/style.css">
<title>Ticket Tracker Demo in Angular</title>
<title>Todo Tracker Demo in Angular</title>
</head>
<body>
<div id="wrap">
<h1>Ticket Tracker Demo: Angular</h1>
<div ng-controller='TicketsController'>
<input ng-model='new_name' placeholder='Ticket Name'>
<h1>Todo Tracker Demo: Angular</h1>
<div ng-controller='TodosController'>
<input ng-model='new_name' placeholder='Todo Name'>
<input ng-model='new_priority' placeholder='Priority'>
<button type='submit' ng-click="add()">Add</button>
<table>
Expand All @@ -21,12 +22,12 @@ <h1>Ticket Tracker Demo: Angular</h1>
<th>Priority</th>
<th>Tools</th>
</tr>
<tr ng-repeat="ticket in tickets">
<tr ng-repeat="todo in todos">
<td>
{{abbreviation(ticket)}}
{{ticket.name}}
{{abbreviation(todo)}}
{{todo.name}}
</td>
<td class="priority">{{ticket.priority}}</td>
<td class="priority">{{todo.priority}}</td>
<td></td>
</tr>
<tr class='total'>
Expand Down
Loading