Added dependency and fixed source for Ionic file