Skip to content

Instantly share code, notes, and snippets.

Created May 20, 2013 14:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
AngularJS task view
<div ng-controller="DashboardCtrl">
<p>Search: <input type="text" id="query" ng-change="filterChange()" ng-model="query" /></p>
<div class="contentband" id="registrationBand">
<label class="overflow gridCol-04 posLeft" title="{{selectedTask}}">{{selectedTask}}</label>:
<input type="text" ng-model="registrationHours" id="registrationHours" class="gridCol-01" /> hours -
<input type="text" ng-model="registrationText" id="registrationText" class="gridCol-02" /></div>
<table id="tasks">
<th class="gridCol-01a">Favorite</th>
<th class="gridCol-02">Project</th>
<th class="gridCol-04">Task</th>
<tr ng-repeat="item in filteredTasks = (tasks | filter:query | limitTo: 20)">
<td><span class="gridCol-02" title="{{item.ProjectName}}">{{item.ProjectName}}</span></td>
<td><span class="gridCol-04" title="{{item.Name}}">{{item.Name}}</span></td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment