#SharePoint 2013: Use the chrome control and the cross-domain library (REST)
This is an improved version of the SharePoint 2013 app example at: http://code.msdn.microsoft.com/officeapps/SharePoint-2013-Use-the-a759e9f8
Read more about the improvements at:
http://rainerat.spirit.de/2012/09/05/SharePoint-2013-and-the-notorious-disclaimer