The example should not rely on the gaImportKmlController. It should have its own controller for the gaImportKml directive.