Angular JS problem mit Controller
Hallo,
kann mir jemand sagen was an dem Controller falsch ist?
LG Janek
kann mir jemand sagen was an dem Controller falsch ist?
(function(){
var app = angular.module('store', ["firebase"]);
app.controller('StoreController', function($scope, firebaseObject) {
});
})();
LG Janek
Please also mark the comments that contributed to the solution of the article
Content-Key: 283590
Url: https://administrator.de/contentid/283590
Printed on: April 20, 2024 at 03:04 o'clock
1 Comment
Hi,
schau dir die Syntax genau an !
(Kenne Angular nicht !)
Müsste Zeile 6+7 nicht so lauten:
also
~Arano
//Edit:
Jetzt frage ich mich ob
"controler()" ist doch nur eine Methode vom Object "app" oder nich ?
schau dir die Syntax genau an !
(Kenne Angular nicht !)
Müsste Zeile 6+7 nicht so lauten:
}})();
} das Ende von app.controler(){
} das Ende von function(){
) das Ende von scope (function
();
~Arano
//Edit:
Jetzt frage ich mich ob
app.controler
überhaupt einen Anweisungsblock { } haben kann !?"controler()" ist doch nur eine Methode vom Object "app" oder nich ?