Skip to content

Instantly share code, notes, and snippets.

@umdstu
Created July 24, 2015 17:34
Show Gist options
  • Save umdstu/c3a272d4ded72ba2e370 to your computer and use it in GitHub Desktop.
Save umdstu/c3a272d4ded72ba2e370 to your computer and use it in GitHub Desktop.
<!-- ng/components/projects/_ana.html -->
doesn't works
<!-- ng/components/project/_ana.html -->
works!
$stateProvider
.state('projects', {
abstract: true,
template: '<ui-view/>'
})
.state('projects.ana', {
url: '/projects/ana',
templateUrl: '<%= asset_path("ng/components/projects/_ana.html") %>',
controller: 'ProjectsController'
})
.state('projects.ana1', {
url: '/projects/ana1',
templateUrl: '<%= asset_path("ng/components/project/_ana1.html") %>',
controller: 'ProjectsController'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment