Create a component
Instead of having html directly inside our app, let’s put it in a component and embed this component inside the app.
Adding markups in components instead of .app makes it more portable. For example you can easily embed it in Salesforce1 Mobile App or in other apps.
Embed Component In App
Open helloworld.app and embed your component in it. Make sure to change the namespace “jam” to your namespace
Test The App
Click on the convenient “Preview” button on the side bar to open up the app.