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.
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.