I have tried to disable the html5 mode and remove the base, but whenever the angular bootstrap writes this URL again when SVG exists , Then the angular is loading, it will show the right clip / filter, however whatever may happen that once the angular iClassia starts. Does anyone know an alternate solution? I have tried to use full file path before trying to target it as well as disable the base. By setting the base I mean Inspection ahead of this problem shows that when angular is started, then it is a SVG I think you set the wrong base attribute in the head of the index file . Be sure to check all relative links, images, scripts etc. Angle is required to specify the URL base at the top of your main HTML file, unless the html5Mode.requireBase is set to false. With the passage in the $ locationProvider.html5Mode () in the Html5Mode definition object, the relative url will always be resolved for this base URL, even if the initial URL of the document is different. & lt; Base href = '/' & gt;
which should work before angular
& lt; Svg & gt; & Lt; Defs & gt; & Lt; Filter & gt; & Lt; / Filter & gt; & Lt; / Defs & gt; & Lt; Ch & gt; & Lt; Path & gt; & Lt; / G> & Lt; / Svg & gt;
After bootstrap
& lt; Svg & gt; & Lt; Defs & gt; & Lt; Svg class = 'filter' & gt; & Lt; Path & gt; & Lt; / Svg & gt; & Lt; / Defs & gt; & Lt; Ch & gt; & Lt; Path & gt; & Lt; / G> & Lt; / Svg & gt;
No comments:
Post a Comment