Can i use abstract with multiple views

Is it posible to use an abstract state with multiple views. If i try something like this i get an black page.
For Example:

...
$stateProvider.state('app', {
  url: '/app',
  abstract: true,
  templateUrl: 'app.tpl.html',
  controller: 'appCtrl',
  views: {
    'someview' : {
      templateUrl: 'someTemplate.tpl.html',
      controller: 'someCtrl'
    }
});
...

I want to use an abstract state with a SideMenu to be able to exchange the content of the menu.

regards
Johannes

I found the problem, i accidently used an old version of ionic. Bower did not resolve the dependencies correct.

1 Like