picture model as ng-resource
pictures upload directive
pictures line directive