I'm new to magento.
I'm created a module-2 module from below mentioned tutorial.
http://inchoo.net/magento-2/how-to-create-a-basic-module-in-magento-2/
With that module I'm injecting script into the page. But with this I'm limited to execute only on my module page i.e.,
http://localhost/magento2/helloworld
I have a sample store installed, but what should I do if I want my module to be executed on any product page.
Please help me understand. Pointing to an article would be greatly appreciated.
Thank you.