fix ionic dependency in templates