Handle big numbers properly on directive.