material icon indicating copy to clipboard operation
material copied to clipboard

md-sidenav not working with md-include

Open shakhrillo opened this issue 11 years ago • 2 comments

I'm trying to add the md-include inside of md-sidenav capture_2 But it giving me any error just commenting it out and not displaying it capture Why it is happening or md-include not supported in md-sidenav?

shakhrillo avatar Jul 11 '15 11:07 shakhrillo

https://docs.angularjs.org/api/ng/directive/ngInclude

If the source is a string constant, make sure you wrap it in single quotes, e.g. src="'myPartialTemplate.html'".

norkunas avatar Jul 11 '15 13:07 norkunas

I found my mistake if I add the url as a $scope.module it worked

shakhrillo avatar Jul 14 '15 09:07 shakhrillo