In my lazy loaded module, I have implemented simple routing as shown below:
<div id="nav">
<div class="nav-content">
<div class="nav-item" [routerLink]="'basic'" [routerLinkActive]="active-nav">
<span class="glyphicon glyphicon-cog"></span>
Basic Settings
</div>
<div class="nav-item" [routerLink]="'map'" [routerLinkActive]="active-nav">
<span class="glyphicon glyphicon-map-marker"></span>
Floor Plan
</div>
</div>
</div>
However, when I run the server, I encounter an error message starting with:
Uncaught (in promise): TypeError: data.split is not a function TypeError: data.split is not a function at RouterLinkActive.set [as routerLinkActive] (eval ....
I am puzzled by this. Could it be caused by one of my dependencies?