Angular 2 QuickStart
The require function is provided by SystemJS. You need to add it into your script:
require
script
(...)
Here is a plunkr describing a working sample: https://plnkr.co/edit/JXLDFBW4A1mi9tyNHoJ3?p=preview.
Hope it helps you, Thierry