Added canvas in template, plus the correct attrs in index.html and in the directive