• A Mac OS .app • A browser-based web app • An Android App (Phone & Tablet) • An iOS App (iPhone and iPad) • A Windows 8 Store Application • And a Windows Phone 8 App All with the same source code … (offline-first, code & data!)
directives, and other services (as constructor-parameters) • Often use-case independent logic (otherwise: controller) • Careful with minification (array-syntax or $inject)
projects – Controller, $scope – DOM-Views, Model-Binding – Directives – Routing – Services – Promises • NO DOM manipulations in your controllers! Instead: usually in directives. Sometimes in services.