Overriding/decorating directive

Hello, I’m trying to extend functionality of ion-content directive.
It should accept additional bool parameter and if true, add my custom css class.

I thought about using $provide.decorator, is it possible?

I started with code below:

angular.module('overrides', ['ionic'])
.config(function($provide) {
  $provide.decorator('ionContent', ['$delegate', function($delegate) {
    var directive = $delegate[0];
    return $delegate;

but there’s exception:

Error: [$injector:modulerr] Failed to instantiate module overrides due to:

Error: [$injector:unpr] Unknown provider: ionContentProvider

I’d like to do it without direct modifications to original directive, so if there’s new version of Ionic, it won’t be overwritten.