changed to use angular for loop
changed search to use resource plugin
added list association field