fixed the templates, ionic build a lot of functionality back