I've created an angular controller `UserController`.

one in my index.html like this: 

```
<nav class="navbar navbar-default" ng-controller="UserController as account">
    <span ng-model="somePropertieInsideMyController"></span>
</nav>

```

and the second time through a `$routeProvider` in app.main.js like this:

```
.when('/login', {
  controller: 'UserController',
  controllerAs: "account",
  templateUrl: 'views/login.html'
})

```

My Question is, after loading the page, do I have two instances of the controller or will there be only ONE controller two which both parts are bound and share the `$scope`?

If there are two instances created, How can I share the properties that may be update inside the controller across both appearances.