Moved to AngularJS logging instead of plain console