# Get the current state

After creating a store, let's try to consume it into our app. To get the current state we need to use the [`copy`](https://angularjs-store.gitbook.io/docs/v3.0.0/api-reference/copy) method of the store.

In this example we inject the store into the app controller to populate the scope variable `count`.

{% code title="controller-a.js" %}

```javascript
angular
  .module('App', [])
  .controller('ControllerA', function ControllerA($scope, CounterStore) {
    const counterState = CounterStore.copy();
    $scope.count = counterState.count;
  });
```

{% endcode %}

We can also pass a `string` to the [`copy`](https://angularjs-store.gitbook.io/docs/v3.0.0/api-reference/copy) method to directly access the state property. Just like this example.

{% code title="controller-a.js" %}

```javascript
angular
  .module('App', [])
  .controller('ControllerA', function ControllerA($scope, CounterStore) {
    $scope.count = CounterStore.copy('count');
  });
```

{% endcode %}

{% hint style="info" %}
All returned data by the [copy](https://angularjs-store.gitbook.io/docs/v3.0.0/api-reference/copy) method are just only a new state copy. Any changes to that copy does not reflect to other copy and most importantly, it does not reflect to the original state in the store.
{% endhint %}
