Fix requirements and angular ref in html, add logging