Settings

Theme

AngularJS isn't MVC, it's SDC

nathanleclaire.com

2 points by vuknje 12 years ago · 1 comment

Reader

pedalpete 12 years ago

The author has just renamed MVC to match the terminology that Angular uses. It's still the same thing.

Model is used to manage data from a web service, Angular calls it a Service (or Factory).

Views output the markup injected into the DOM, same as a Directive.

Controllers bind the Models and Views, and just so happen to have the same name in Angular.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection