AddPicture template & angularjs directive