O GoConqr está de visual novo! Conte para nós o que você achou.

Notas

Modules, Apps and Controllers

mjo What is AngularJS? Masters Inglês 1 página

Conteúdo das notas (1)

Página 1

angular.module takes a name and array of dependencies.

It says everything inside ng-app custom attribute is now connected to a variable in the global namespace.

Therefore the app you define then is connected to the part of the DOM defined by the element with the custom attr.

Defining a controller on your module takes a function. The controller connects a view to the model.

ng-controller can be applied to your HTML

Any code inside the controller will be associated with controlling the view with the model defined in the JS

Viola, a very basic AngularJS application.

Informações

Descrição
Masters What is AngularJS? Notas sobre Modules, Apps and Controllers, criado por mjo em 20-04-2015.
Criado por
mjo
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?