[ANGULAR] Unknown provider: storeProvider <- store

I’m getting this error.

Error: [$injector:unpr] Unknown provider: storeProvider <- store <- SubscriptionController

My code looks like this:

angular.module('app').controller('SubscriptionController', SubscriptionController);

function SubscriptionController($scope, store, StateService){

        const vm = this;
        activate();

        function activate(){
            console.log("Load carousel window.");

            //Register the products
            store.register([{
                id:    '1month_subscription',
                type:   store.PAID_SUBSCRIPTION,
            }]);

}

I already have the cordova-plugin in my config file.

<plugin name="cordova-plugin-purchase" spec="https://github.com/j3k0/cordova-plugin-purchase#master">
    <variable name="BILLING_KEY" value="MIIB" />
</plugin>

What am I missing? Why the store is not being recognised in my project?