Added ionic 1.0 and make it work