title: Require JS : Undefine a file on click
body: <p>I am using require to load a file (template.view.js) on a page, now I want to undefine the file(template.view.js) on click of a button on my page.</p>
  
  <p>I am looking for something like require.undef('templatekey').</p>