Skip to content

Tag: angularjs

document.querySelector() is not applying style

Could someone point my mistake here ? I’m trying to modify the class the property but am actually getting TypeError: Cannot read property ‘style’ of null in my Angular.js 1.x application. But when try in fiddle, I couldn’t see the error but also style is not applied. Thanks every one A…