I got the same problem. But I found the solution. Thought it would be helpful for some others.
The solution is add 'requires' for the particular class names, which you would like to refer by there alias name. Additionally add 'appFolder' configuration too to the app.js, that solved my issue.