Skip to content

mobile-view couldn't read ng-template in ngInclude #90

@cihadhoruzoglu

Description

@cihadhoruzoglu

Hi,

I have root.html which has full ngTemplate scripts for application. When I add root.html using ngInclude, mobile-view directive couldn't read ngTemplates inside the root.html.

My code looks like this in index.html;

<div ng-include="'./html/root.html'"></div>
<div mobile-view class="content-wrapper" ng-class="{'content-wrapper-with-search':showSearchBar}"></div>

However when I try without using ngInclude and simply copy and paste ngTemplate in index.html it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions