Move feature() into AnnotationController
Move scope.feature() from the annotation directive to vm.feature() in the AnnotationController. Just trying to move as much as possible out of the directive's scope and link function into the controller, if we're gonna use a directive controller here try to just use it instead of randomly using the link function and scope for some things and the controller for others.
Showing
Please register or sign in to comment