2 cups (250g) chickpea flour (sold in Indian shops under the name besan or gram flour)  3 cups (750ml) water  1 rounded teaspoon salt  3 tablespoons chopped fresh rosemary  olive or vegetable oil for frying  lemon juice and freshly-ground black pepper, for serving