Split index into components and added dummy jasmine test