Should I inform other project's members about my work on an idea which they are not initially interested in
Congratulations on publishing a paper in the face of a lack of initial interest from Team B and your supervisor. That shows valuable tenacity.

I think, however, that you should have informed Team B as your work progressed, and certainly before publication. It is quite likely that you would have convinced members of Team B of the value of your work over time, and perhaps been able to involve one or more of Team B in your research. 

From Team B's perspective, you have encroached on their territory, and published a paper which perhaps they feel they should have had a hand in (read: been co-authors of). Keeping all your team members informed of your work is good practice. Whether they should have been included as co-authors on your paper is a matter of your own publication policies. 

Did Team A know about your work?