replaces altTag function in controller with string alt="" interpolation for simplicity