refactor(js): controllerAs syntax in articleEditor. Saving differents states of article