setting up ionic platform