add custom directive and fix _vehicle json partial