angular-mobile-nav icon indicating copy to clipboard operation
angular-mobile-nav copied to clipboard

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

Open cihadhoruzoglu opened this issue 10 years ago • 0 comments

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.

cihadhoruzoglu avatar Apr 08 '14 06:04 cihadhoruzoglu