Re: [AngularJS] use "function" in controller - scope cannot resolved

2015-06-17 Thread Thomas Kuntermann @lexmark
You're right :-P So maybe there is a bit of magic behind the scenes;) thx 4 your help. Am Mittwoch, 17. Juni 2015 16:42:39 UTC+2 schrieb Leandro Parazito: > > My advice: do not be stuck in an IDE :) > -- Lexmark Enterprise Software Deutschland GmbH Steinplatz 2, 10623 Berlin, Deutschland Gesch

Re: [AngularJS] use "function" in controller - scope cannot resolved

2015-06-17 Thread Thomas Kuntermann @lexmark
Indeed, thanks for the hint! But I'm always wondering, why this works (obvisiously) without the declaration for the tutorial? Is there any way to tell an IDE to do such declaration for projects? I can see the complete code of the developer in the tutorial (its a video from his desktop, showin

[AngularJS] use "function" in controller - scope cannot resolved

2015-06-17 Thread Thomas Kuntermann @lexmark
hey guys, just learning angularJS with tutorials and facing a very big question-mark... A simple tutorial comes up with 2 files ("Index.html" and "ctrl.js"). "controllers/ctrl.js": *function myCtrl ($scope) {* * $scope.desc = "some description text";* *}* "index.html" ** ** * Display Filters*