title: controller.setview is not a function error
body: <p>I have recently migrated my ExtJS4.2 application to ExtJS5.1.<br>
  I have followed these steps to migrate:  1) Created new application with ExtJS5.1 gpl version using ExtJS Sencha Cmd6.0.</p>
  
  <p>2) Copied the app\model,app\controller,app\store to 5.1 application
  3) Copied Persons.js view file to ExtJS5.1\app\view\main folder and added it  as xtype in Main.js
  4) When i run the application, i could see error:<br>
  Uncaught TypeError: controller.setView is not a function
  It is happening in applyController function of ext-all-rtl-debug.js</p>
  
  <p>Can anyone help me to resolve this?</p>
  
  <p>Thanks in advance....</p>