My lightning talk is about the way I use Angular and I suggest it for everyone else as well as simpler to reason about and a good way to understand what you should learn when you're starting with Angular.
Angular the Good Parts(work in progress by @krzychukula)
View Slide
Thanks Jedi!(delivered by @krzychukula)
Angular 1.*
API explosion
Scalable
Angular 2
80/20
Simple Rules
6 Simple Rules
Let go of:ng-controller1
Use:.directive
$stateProvider.state('positions', {url: '/positions',template: ''})
Let go of:$scope2
Use:controllerAs: 'ctrl',
Use:scope: {},bindToController: {count: '='},
Let go of:link3
Use:controller
Let go of:templateUrl4
Use:template
angular.module('positions').directive('positions', positions);
function positions() {return {//next slide}}
scope: {},bindToController: {data: “=”},controller: require('./positions-controller'),controllerAs: 'positions',template: require("./views/positions-page.jade")
Let go of:$rootScope5
Let go of:.provider6
Work in progress
Use:.factory
Use:.service
Feedback?
Inspirations● https://medium.com/@bluepnume/sane-scalable-angular-apps-are-tricky-but-not-impossible-lessons-learned-from-paypal-checkout-c5320558d4ef● http://toddmotto.com/exploring-the-angular-1-5-component-method/● http://teropa.info/blog/2015/10/18/refactoring-angular-apps-to-components.html● http://juristr.com/blog/2015/07/learning-ng-prepare-ng2/
Thanks!(delivered by @krzychukula)