Fix Angular demo with promise-polyfill