according to this, indexPath will never load the bower option. it will always be appPath or 'app'