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 trialBappy Golder
13,449 Pointsng-inspector not working
Hey guys, My ng-inspector is not working and I'm getting unexpected errors. I need some solutions to move forward. Did any one have the same problem?
Here's my latest code snippet: https://w.trhou.se/ms3azocwc9
Unfortunately I'm unable to move forward with these bugs. HELP!!
1 Answer
Jaro Schwab
8,957 PointsYou misspelled Function on line 10. This should work:
angular.module("todoListApp", [])
.controller('mainCtrl', function($scope){
$scope.helloWorld = function(){
console.log('Hello there! This is the helloWorld controller function, in the mainCtrl');
};
})
.controller('coolCtrl', function($scope){
$scope.whoAmI = function(){
console.log("Hello there, this is the coolCtrl function");
};
})
.conroller('imASibling', function($scope){
$scope.foobar = 1234;
//do something
});
Bappy Golder
13,449 PointsBappy Golder
13,449 PointsCheers Jaro that solved the problem. Can you please tell how you debugged it?
Jaro Schwab
8,957 PointsJaro Schwab
8,957 PointsI just shortly looked over your code and saw it ..
Bappy Golder
13,449 PointsBappy Golder
13,449 PointsCheers mate appreciate it.