I want to find a div element which is part of a specific route and add a
class to the element. I kept the logic in the index.html in document.ready
function. But, this happens if the complete page is loaded on the first
load (or) page refresh.
I am using Angular 4. So, how do I achieve this?
I guess, you need to compile with production configuration locally and copy
the content from dist folder to the deployment folder on your hosting
machine.
On Sat, 23 Nov 2019, 02:43 Maureen Moore, wrote:
> Most of the angular tutorials I have found by googling require installing
> node and npm.