Added code from angular startup app.