Affects Version/s: Master
Typescript compiler generates AMD modules with some code before the define() call. This fools the portal into thinking that it is not a valid AMD module and the dependencies don't get parsed, making the module fail in the browser, at runtime.
Steps to reproduce:
- Start the portal
- Deploy attached JAR
- Add a "Liferay NPM Angular.js Example" portlet to the main page
Some portlet content is rendered.
An empty portlet appears.