team controller refactoring: + TeamController, moving files

This commit is contained in:
tmshv committed 2016-02-22 01:25:26 +03:00
1 parent 573973d98b
commit 37c9a72c3e
4 files changed
+15 -8

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
export default function (app) {
app.controller('TeamController', ($scope, team) => {
$scope.teamMembers = team.team.map(person => {
person.names = team.splitName(person.name);
return person;
});
});
};