Angular Brown Bag Session



Angular Brown Bag Session

1 0


angular-bb-session

Angular Brown Bag Session, 19th april 2016

On Github Orsman / angular-bb-session

Angular Brown Bag Session

TODO:

  • Vad är AngularJS? ...och varför är det så bra?
  • Hur kodar man AngularJS?

Vad är Angular JS?

Skolboksdefintionen:

“AngularJS is a framework for client-side Model–View–Controller (MVC) and Model–View–ViewModel (MVVM) architectures. The framework adapts and extends traditional HTML to present dynamic content through two-way data-binding that allows for the automatic synchronization of models and views."

"AngularJS is a framework for client-side Model–View–Controller (MVC) and Model–View–ViewModel (MVVM) architectures. The framework adapts and extends traditional HTML to present dynamic content through two-way data-binding that allows for the automatic synchronization of models and views."

View - What the user sees.

Model - The data shown to the user in the view and with which the user interacts

Controller - Logic behind the view.

"AngularJS is a framework for client-side Model–View–Controller (MVC) and Model–View–ViewModel (MVVM) architectures. The framework adapts and extends traditional HTML to present dynamic content through two-way data-binding that allows for the automatic synchronization of models and views."

Directive - extend HTML with custom attributes and elements

Two-way Data Binding...

One-Way Data Binding

Two-Way Data Binding

Directives, Data binding

https://code.angularjs.org/1.4.9/docs/api

NG-repeat, Filters

Controllers

Custom Directives

Services

Länkar etc.

github.com/orsman/angular-bb-session
Angular Brown Bag Session