Change 'scope' to '' for consistency
Use arrow notation for anonymous functions in the registerXXX methods
Change sample view to show the sample filter and directive