changing homepage to directive?