Check for define.amd, just to be sure. [It works with requirejs, plunkr provided](http://plnkr.co/edit/Q25LyD).