How to refactor and
build re-usable components in Angular.js


Quick Intro
Thanks for having me here
Overview
What is clean code?
File layout is important
Keep names in sync
components
Small, modular, testable code
Single Page App Development
Refactoring Tools
Refactoring Anti-Patterns
Refactoring in Angular.js
Routes, controllers, views, directives, models, factories and services
Simple / Service / Controller / Directive
Anti-Patterns & Problem areas
Common Refactors
Clean Code Tips
UI / UX Clean Code Tips
Personal suggestions (Y.M.M.V)
Example app walkthrough
Code Review
Directives: shared components
writing tests for directives can also be hard
extracting directives from your codebase can be tricky