code: function () {
  				// set i18n model on view
  				var oModel = new JSONModel(),
  					i18nModel = new ResourceModel({
  						bundleName: "sap.ui.documentation.sdk.i18n.i18n"
  					});
  
  				this.getView().setModel(i18nModel, "i18n");
  
  				// load demo app metadata from docuindex of all available libraries
  				libraryData.fillJSONModel(oModel);
  				this.setModel(oModel);
  
  				this.getRouter().getRoute("demoapps").attachPatternMatched(this._onMatched, this);
  
  				sap.ui.getVersionInfo({async: true}).then(function (oVersionInfo) {
  					var oViewModel = new JSONModel({
  						isOpenUI5: oVersionInfo && oVersionInfo.gav && /openui5/i.test(oVersionInfo.gav)
  					});
  					this.getView().setModel(oViewModel, "appView");
  				}.bind(this));
  
  				// manually call the handler once at startup as device API won't do this for us
  				this._onOrientationChange({
  					landscape: Device.orientation.landscape
  				});
  				this._onResize({
  					name: (Device.resize.width <= 600 ? "Phone" : "NoPhone")
  				});
  			}
docs: Called when the controller is instantiated.
  @public