-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
I have this code below:
$stateProvider
.state "standard",
abstract: true
templateUrl: "assets/layouts/standard.html.haml"
views:
"header@standard":
templateUrl: "assets/layouts/header.html.haml"
"navigation@standard":
templateUrl: "assets/layouts/navigation.html.haml"
"footer@standard":
templateUrl: "assets/layouts/footer.html.haml"
When i try to load the corresponding page, which has "standard" as its parent, the lone 'templateUrl' ("assets/layouts/standard.html.haml") will be ignored and the standard.html.haml template won't be loaded.
However when i commented out the views, that templateUrl attribute will work normally.
Is this an intended behavior? can you elaborate on this?