Initial Commit

This commit is contained in:
root
2013-05-06 03:38:29 -04:00
commit d392a540e7
134 changed files with 22012 additions and 0 deletions

16
public/js/filters.js Normal file
View File

@ -0,0 +1,16 @@
angular.module('biomed.filters', [])
.filter('techs', function() {
return function(techs) {
if (!techs) return techs;
return techs.map(function(tech) {
return tech.name.first + ' ' + tech.name.last;
}).join(', ');
};
})
.filter('time', function() {
return function(time) {
return moment(time).format('h:mma');
};
});