adds editor state
Merge pull request #5 from gladwearefriends/angular

adds editor state