ng-init added for editor