In this module, you use the Ionic CLI (command line interface) to create a new application based on the sidemenu starter app.
Open a new terminal window (Mac) or a command window (Windows), and navigate (cd) to the ionic-tutorial directory
Using the Ionic CLI, create an application named conference based on the sidemenu starter app:
ionic start conference sidemenu
Navigate to the conference folder
cd conference
Start the application in a browser using ionic serve.
ionic serve
NOTE: Because of cross domain policy issues (specifically when loading templates), you have to load the application from a server (using the http protocol and not the file protocol). ionic serve is a lightweight local web server with live reload.
Alternatively, you can also open a browser and access the following URL:
This works because the Node.js server is configured to serve static pages in the conference/www folder. Open server.js in ionic-tutorial/server to see the code. Specifically:
app.use(express.static('../conference/www'));
Back in the application, open the side menu ("hamburger" icon in the upper left corner) and select Playlists. Select a playlist in the list to see the details view (not much to see at this point).
In the next modules, you will replace the playlists with a list of conference sessions retrieved from the server using the REST services you experimented with in the previous module.
Open the side menu again and select Login. Click the Login button to close the window (Login is not implemented in the starter app).
In the last module of this tutorial you will implement Login using Facebook.