Defined pictures in an AngularJS factory; updated router to use either PictureController (singular) or PicturesController (plural); added new, edit, show, index hamlc templates