moved all ionic/angular code into /lib folder