When implementing Angular.js in my application, I encountered an error when using ng-include
within ui-view
. The error message reads:
Error: e is null .after/<@http://localhost/vb-asli/js/angular.min.js:152:228 r@http://localhost/vb-asli/js/angular.min.js:7:288
The code triggering this error looks like this:
<div ui-view>
<div ng-include="'partials/menuPreview.html'">
</div>
</div>