Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJonathan Arbely
6,691 PointsSolution for people who get sce related console-errors
If you're getting sce related console errors after creating the todos.html in your directive folder, that means that angular itself is blocking you from using it for security reasons. There are ways to whitelist this and other urls, but to disable sce while developing this project can be a much faster and smarter solution, as it will let you focus on the things you learn instead of searching through the whole interwebs for a solution.
You can disable it like this. In your app.js add the following:
angular.module("todoListApp", []).config(function ($sceProvider) {
$sceProvider.enabled(false);
});