ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
411 stars 36 forks source link

feat(directive): Add support for special directive factory properties #93

Closed brandonroberts closed 8 years ago

brandonroberts commented 9 years ago

When Angular 1.5 comes out it will include the module component helper with support for special properties that get added to the directive factory function, mainly $routeConfig and $canActivate. Add support for component properties that begin with a $ to get set on the directive factory function and not the directive definition object.