Open kresogalic8 opened 5 years ago
Please try `<svg ngNonBindable ....>
Please try `<svg ngNonBindable ....> thank's allenhwkim this works for me. but I didn't undestrand why can you Explain me why my code is working when I add 'ngNonBindable ' property?
Hey guys, I have a problem with adding new component with svg init. For example I am adding this to my component which is basic things:
` <svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
And I got an error like this
ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[Polygon -> NguiMapComponent]: StaticInjectorError(Platform: core)[Polygon -> NguiMapComponent]: NullInjectorError: No provider for NguiMapComponent! Error: StaticInjectorError(AppModule)[Polygon -> NguiMapComponent]: StaticInjectorError(Platform: core)[Polygon -> NguiMapComponent]: NullInjectorError: No provider for NguiMapComponent!