Destroy the directive now updates the model
Added templateUrl to template marker