minimal re-implementation of stackedit.io using angular, polymer and reactive programming library rxjs