Added support for online / offline distiction, %s/data-ng-/ng-/g