title: Accessing Core Model from Controller Not Working
body: <p>I have added a named model in Component.js. I can access model with its name from any view but I want to access this model from one of the controllers which is not working for me.</p>
  
  <p><code>sap.ui.core.getModel("modelName")</code> is not working and <code>sap.ui.getCore().getModel("modelName")</code> is also not working.</p>
  
  <p>How to refer its containing Component and a named model from a controller?</p>