Move script to controller, rename some scope attributes, changes the method allowing to know if the annotate type is shot or head