Improved plnkr code example.