Feature/localize directive

Moving from filter to directive