Skip to content

ng-include not rendering in new .jade file #217

@kosz

Description

@kosz

First off sorry if it's not appropriate to post this question here, however I'm having an issue when trying to create a new page in an app generated with angular-fullstack.

I've created a new .jade partial, the routing for it as well as a menu item to take me to that route. All of this works fine, however, the

div(ng-include=''partials/navbar.html'')

Doesn't get rendered from within this new jade file ( called calendar.jade ). The code is IDENTICAL to the other .jade files generated by the generator : main.jade, settings.jade, login.jade

When inspecting the HTML, it looks like the comment for the ng-include gets rendered, but the actual div doesn't get rendered. Here is a gist with this :

https://gist.github.com/kosz/1a87d115451414fa8136

Copy pasting the content of the ng-include partials, directly in the calendar.jade file, will render everything correctly ... But when using the ng-include only a comment gets rendered, as seen in the gist above.

Anticipated thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions